From: | Philip Warner <pjw(at)rhyme(dot)com(dot)au> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | heap_create with OID? |
Date: | 2000-07-04 06:38:26 |
Message-ID: | 3.0.5.32.20000704163826.01fe2b50@mail.rhyme.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I am wondering if anyone can see an immediate problem in creating a function:
heap_create_oid
which is just like heap_create, but takes an oid arg. This oid (assuming
it's free) would be used to create the object.
This could then bes called from a new
heap_create_with_catalog_oid
which in turn will be called from
inv_create_oid
to ultimately allow pg_restore to recreate BLOBs, via lo_create_oid.
This plan was developed by simply looking at the LO code in total
isolation, so I am aware it could be totally flawed for the rest of the DB,
but I would appreciate some input...
----------------------------------------------------------------
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 |/
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Bitmead | 2000-07-04 06:44:32 | Re: heap_create with OID? |
Previous Message | Jeroen Ruigrok/Asmodai | 2000-07-04 06:19:34 | Re: Re: [HACKERS] proposed improvements to PostgreSQL license |