Re: heap_create with OID?

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: heap_create with OID?
Date: 2000-07-04 09:19:07
Message-ID: 3.0.5.32.20000704191907.020dab70@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 02:57 4/07/00 -0400, Tom Lane wrote:
>Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:
>> 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.

>There's no inherent problem in forcing a particular choice of OID;
>initdb does it on every run. The trick is to avoid a conflict of
>OID assignments.

I've modified the relevant routines up to and including defining
lo_create_oid, and was wondering what the best way to procede in testing
the new routine might be...is there a document that decribes modifying the
standard set of functions and adding lo_create_oid?

----------------------------------------------------------------
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 |/

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Brooke 2000-07-04 09:38:47 Re: [ANNOUNCE] Re: [HACKERS] proposed improvements to PostgreSQL license
Previous Message Mike Mascari 2000-07-04 08:06:29 Re: [GENERAL] Re: [HACKERS] proposed improvements to PostgreSQL license