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

2002-12-01 Thread Tom Lane
Philip Warner <[EMAIL PROTECTED]> writes: >> this is caused by the cast of oprcode > Here's a (trivial) patch. Applied in both REL7_3 and HEAD. Thanks. regards, tom lane ---(end of broadcast)--- TIP 3: if posting/reading t

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

2002-12-01 Thread Tom Lane
Philip Warner <[EMAIL PROTECTED]> writes: > 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

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

2002-12-01 Thread Philip Warner
At 12:16 AM 2/12/2002 +1100, Philip Warner wrote: this is caused by the cast of oprcode Here's a (trivial) patch. Philip Warner| __---_ Albatross Consulting Pty. Ltd. |/ - \ (A.B.N. 75 008

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

2002-12-01 Thread Philip Warner
At 08:05 AM 1/12/2002 -0500, [EMAIL PROTECTED] 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

[BUGS] Bug #827: pg_dump in 7.3 can't dump 7.1 db

2002-12-01 Thread pgsql-bugs
Philip Warner ([EMAIL PROTECTED]) reports a bug with a severity of 3 The lower the number the more severe it is. Short Description pg_dump in 7.3 can't dump 7.1 db Long Description Whenevr dumping a 7.1 db using 7.3 pg_dump, I get: pg_dump: last built-in OID is 18539 pg_dump: saving database def