Re: pg_dump ordering problem (rc4) - Mailing list pgsql-hackers

From Philip Warner
Subject Re: pg_dump ordering problem (rc4)
Date
Msg-id 3.0.5.32.20010414182930.028c5100@mail.rhyme.com.au
Whole thread Raw
In response to Re: pg_dump ordering problem (rc4)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_dump ordering problem (rc4)  (Philip Warner <pjw@rhyme.com.au>)
Re: pg_dump ordering problem (rc4)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
At 03:53 14/04/01 -0400, Tom Lane wrote:
>
>> Would people mind me adding a 'pg_getviewoid(<name>)' for pg_dump's use?
>
>While that would be a clean solution, it would mean that the problem
>will remain until 7.2, because you don't get to assume another initdb
>until 7.2.  I don't think we want to wait that long; I want to see a fix
>of some kind in 7.1.1.
>
>A possible compromise is to do a direct lookup of the OID in 7.1.*
>with plans to replace it with some backend-side solution in 7.2 and
>beyond.
>

I don't suppose we can change the pg_views view without an initdb?

If so, a better solution would be to add a 'view_oid' column. Otherwise,
I'll have to kludge pg_dump.


----------------------------------------------------------------
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: Tom Lane
Date:
Subject: Re: pg_dump ordering problem (rc4)
Next
From: "Oliver Elphick"
Date:
Subject: Re: RPM upgrade caveats going from a beta version to RC