Re: Bug #827: pg_dump in 7.3 can't dump 7.1 db

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: pgsql-bugs(at)postgresql(dot)org, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #827: pg_dump in 7.3 can't dump 7.1 db
Date: 2002-12-01 13:16:31
Message-ID: 5.1.0.14.0.20021202001218.054b2ac8@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

At 08:05 AM 1/12/2002 -0500, pgsql-bugs(at)postgresql(dot)org wrote:
>pg_dump: reading user-defined operators
>pg_dump: column number -1 is out of range 0..4

Further investigation seems to indicate this is caused by the cast of
oprcode to oid at line 1687 of pg_dump.c ("oprcode::oid"). It results in
the output not being named 'oprcode'. I am a little surprised it's not a
problem in the 7.3 code branch as well - but maybe it is?

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 03 5330 3172 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2002-12-01 13:23:06 Bug #828: psql in 7.3 can't talk to 7.1 backends
Previous Message pgsql-bugs 2002-12-01 13:05:39 Bug #827: pg_dump in 7.3 can't dump 7.1 db