Thread: pg_dump broken in cvs tip

pg_dump broken in cvs tip

From
Joe Conway
Date:
Looks like regproctooid() was removed here:
/pgsql/src/backend/utils/adt/regproc.c
version 1.66 Thu Apr 25 02:56:55 2002
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/regproc.c.diff?r1=1.65&r2=1.66

but it was added to pg_dump.c here:
/pgsql/src/bin/pg_dump/pg_dump.c
version 1.255 Wed Apr 24 22:39:49 2002 UTC
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump.c.diff?r1=1.254&r2=1.255

and now pg_dumpall gives me this:
pg_dump: query to obtain list of indexes failed: ERROR:  Function 
'regproctooid(regproc)' does not exist        Unable to identify a function that satisfies the given argument 
types        You may need to add explicit typecasts
pg_dump failed on template1, exiting


Joe



Re: pg_dump broken in cvs tip

From
Tom Lane
Date:
Joe Conway <mail@joeconway.com> writes:
> Looks like regproctooid() was removed here:
> /pgsql/src/backend/utils/adt/regproc.c
> version 1.66 Thu Apr 25 02:56:55 2002
> http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/regproc.c.diff?r1=1.65&r2=1.66

> but it was added to pg_dump.c here:
> /pgsql/src/bin/pg_dump/pg_dump.c
> version 1.255 Wed Apr 24 22:39:49 2002 UTC
> http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump.c.diff?r1=1.254&r2=1.255

Wups, looks like left hand (me) was not talking to right hand (Peter).
Will fix.
        regards, tom lane