Specifying OID for BLOBs? - Mailing list pgsql-hackers

From Philip Warner
Subject Specifying OID for BLOBs?
Date
Msg-id 3.0.5.32.20000704002955.00ccfd40@mail.rhyme.com.au
Whole thread Raw
List pgsql-hackers
My work on pg_dump/pg_restore has left me wondering about also supporting
BLOBs. I realize that TOAST will replace BLOBs, but the ability to dump &
restore a DB with BLOBs will make conversion a lot easier, I would guess.

The question then is, for the purpose of pg_dump/restore, how difficult
would it be to create a 'lo_create_with_oid' function?

This technique would obviously only work properly for full restores of the
database, and if the max oid was set prior to the restore.





----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.C.N. 008 659 498)             |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


pgsql-hackers by date:

Previous
From: Chris Bitmead
Date:
Subject: PQprint
Next
From: Tom Lane
Date:
Subject: Re: Backend Question