pgsql: Fix up pg_dump to emit shell-type definitions at the proper time, - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix up pg_dump to emit shell-type definitions at the proper time,
Date
Msg-id 20060302011826.617D59DCAE2@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix up pg_dump to emit shell-type definitions at the proper time, to
make use of the recently added ability to create a shell type explicitly.

I also put in place some infrastructure to allow dump/no dump decisions
to be made separately for each database object, rather than the former
hardwired 'dump if in a dumpable schema' policy.  This was needed anyway
for shell types so now seemed a convenient time to do it.  The flexibility
isn't exposed to the user yet, but is ready for future extensions.

Modified Files:
--------------
    pgsql/src/bin/pg_dump:
        common.c (r1.87 -> r1.88)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/common.c.diff?r1=1.87&r2=1.88)
        pg_dump.c (r1.430 -> r1.431)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump.c.diff?r1=1.430&r2=1.431)
        pg_dump.h (r1.123 -> r1.124)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump.h.diff?r1=1.123&r2=1.124)
        pg_dump_sort.c (r1.12 -> r1.13)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump_sort.c.diff?r1=1.12&r2=1.13)

pgsql-committers by date:

Previous
From: neilc@postgresql.org (Neil Conway)
Date:
Subject: pgsql: Woops: also update the alternative "expected" files for
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix possible crash at transaction end when a plpgsql function is