From: | Philip Warner <pjw(at)rhyme(dot)com(dot)au> |
---|---|
To: | chris(at)bitmead(dot)com |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: heap_create with OID? |
Date: | 2000-07-04 07:33:43 |
Message-ID: | 3.0.5.32.20000704173343.02549300@mail.rhyme.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
At 16:44 4/07/00 +1000, Chris Bitmead wrote:
>
>Would this allow you to create a tuble with a user-specified oid?
To be honest, I have no idea - like I said, I just looked at the LO code
and heap.c. But I believe it will let me create a lo with the right OID.
>
>However you won't be able to discover if the oid is free or not. You
>could end up with duplicate oids. Thus anybody who uses the feature
>should know what they're doing.
OK; then it needs to be done by pg_restore ONLY when a full restore is
being done. pg_dump already has a crude way of setting the max OID at the
start of a restore; all I need to do is use that process when restoring blobs.
----------------------------------------------------------------
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 | Philip Warner | 2000-07-04 07:43:43 | Re: heap_create with OID? |
Previous Message | Tom Lane | 2000-07-04 07:23:28 | Re: [GENERAL] Re: [HACKERS] proposed improvements to PostgreSQL license |