Skip site navigation (1) Skip section navigation (2)


From: bdamato <bdamato(at)coxtarget(dot)com>
To: "pgsql-general(at)hub(dot)org" <pgsql-general(at)hub(dot)org>
Subject: lo_read??
Date: 1998-06-29 19:15:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
i have been able to import large objects into my database using

psql -c "insert into foo VALUES ('info', 'more info',

where the last field in foo is an Oid.

How do i read that large object using psql?
i suspected it would be something like...

psql -c "select (lo_read(Oid)) from foo"

but I was wrong. Has anyone done this with psql?


pgsql-general by date

Next:From: Joao Paulo FelixDate: 1998-06-30 02:10:57
Subject: LIKE (SQL operator)
Previous:From: Brett W. McCoyDate: 1998-06-29 14:27:12
Subject: Re: [GENERAL] LIKE (SQL operator)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group