Re: Details for planned template0/template1 change

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: Details for planned template0/template1 change
Date: 2000-11-13 23:28:01
Message-ID: 3.0.5.32.20001114102801.02bbb750@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 12:38 13/11/00 -0500, Tom Lane wrote:
>>
>> I think it should ignore objects with OID <= lastsysoid of template0; then
>> when it does a restore, it should use 'WITH TEMPLATE template0'.
>
>Restores will be with template template0 anyway, but it seems to me that
>dump should look to lastsysoid of the database being dumped

I may have been a little unclear in my message (it was late), or I may have
misundertsood your response (it's now a little early), but I don't think
this will work; dump & restore must use the same baseline, and I think that
has to be template0.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-11-13 23:30:18 Re: Re: [PATCHES] PostgreSQL virtual hosting support
Previous Message Bruce Momjian 2000-11-13 22:15:57 Re: pgsql/src/backend/libpq (pqcomm.c)