Re: psql and \lo_import

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: "Andrew L. Gould"
Дата:
Сообщение: Re: OT: HEADS-UP: viral storm out there
Следующее
От: "Shridhar Daithankar"
Дата:
Сообщение: Re: OT: HEADS-UP: viral storm out there