Re: psql and \lo_import

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Howard Lowndes <lannet(at)lannet(dot)com(dot)au>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: psql and \lo_import
Date: 2003-09-22 14:28:29
Message-ID: 27375.1064240909@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Howard Lowndes <lannet(at)lannet(dot)com(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shridhar Daithankar 2003-09-22 14:36:56 Re: OT: HEADS-UP: viral storm out there
Previous Message Andrew L. Gould 2003-09-22 14:24:12 Re: OT: HEADS-UP: viral storm out there