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