Re: Unhappy thoughts about pg_dump and objects inherited from template1 - Mailing list pgsql-hackers

From Philip Warner
Subject Re: Unhappy thoughts about pg_dump and objects inherited from template1
Date
Msg-id 3.0.5.32.20001110013646.03414100@mail.rhyme.com.au
Whole thread Raw
In response to Re: Unhappy thoughts about pg_dump and objects inherited from template1  (Jan Wieck <janwieck@Yahoo.com>)
List pgsql-hackers
At 09:47 9/11/00 -0500, Jan Wieck wrote:
>
>    To  make  pg_dump  failsafe,  we'd  IMHO  need  to freeze all
>    objects that come with template0 copying.
>
>    For now we have oid's 1-16383 hardwired from the  bki  files.
>    Some  16384-xxxxx get allocated by initdb after bootstrap, so
>    we just need to bump the oid counter at the end of initdb (by
>    some  bootstrap  interface  command)  to  lets  say 32768 and
>    reject any attempt to touch an object with a lower oid.
>

I'd still like to see this number stored in the pgsql catalog somewhere
(not just header files).


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 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: "Martin A. Marques"
Date:
Subject: Re: problems with configure
Next
From: Tom Lane
Date:
Subject: Re: AW: Unhappy thoughts about pg_dump and objects inherite d from template1