| От | Tom Lane |
|---|---|
| Тема | Re: psql and \lo_import |
| Дата | |
| Msg-id | 27375.1064240909@sss.pgh.pa.us обсуждение |
| Ответ на | psql and \lo_import (Howard Lowndes <lannet@lannet.com.au>) |
| Ответы |
Re: psql and \lo_import
|
| Список | pgsql-general |
Howard Lowndes <lannet@lannet.com.au> writes:
> I'm working psql v7.2.2 to postmaster v7.2.2 and want to use the
> \lo_import function.
> The psql manual says that the syntax is \lo_import '<filename>' 'comment'
> This loads the blob OK and returns the loid but the comment gets lost and
> doesn't appear when I run \lo_list
I think the comment-on-LO facility only works if you are superuser
(because it's hacking a system table, there not being any actual
COMMENT ON LARGE OBJECT command).
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера