At 22:33 21/10/00 +1000, Philip Warner wrote:
>
>OK. I just built with absolute latest CVS again, and pg_dump has started
>dumping the entire schema, including system tables, functions etc. Looks
>like the way it decides something is user-defined is now broken.
>
>Same is true for non-empty databases.
>
Looks like the problem is the way pg_dump determines the last builtin OID.
Currently, the code executes:
SELECT oid from pg_database where datname = 'template1';
which in CVS version on my machine, produces '1'. This is clearly a problem.
Does anyone have a suggestion on the best way to get the last builtin OID?
Or should the OID of template1 be larger???
----------------------------------------------------------------
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 |/