Re: pg_dump ordering problem (rc4)

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Pascal Scheffers <pascal(at)scheffers(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_dump ordering problem (rc4)
Date: 2001-04-14 08:29:30
Message-ID: 3.0.5.32.20010414182930.028c5100@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 |/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Oliver Elphick 2001-04-14 08:56:22 Re: RPM upgrade caveats going from a beta version to RC
Previous Message Tom Lane 2001-04-14 07:53:25 Re: pg_dump ordering problem (rc4)