Fix pg_dump so that comments on views are dumped in the proper sequence.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 8f0ee46dcb9dcf522cfa6475479ac8d67a9078fc
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-08-03T19:43:05Z
Releases: 7.2.1
Fix pg_dump so that comments on views are dumped in the proper sequence.
Dump the alignment and storage information for user-defined types (how'd
that manage to slip through the cracks?), and don't dump 'shell' types
that don't have typisdefined set.  Fix badly broken logic for dependencies
of type definitions (did not work for more than one user-defined type...).
Avoid memory leakage within pg_dump by being more careful to release
storage used by PQExpBuffer objects.

Files

PathChange+/−
src/bin/pg_dump/pg_backup_db.c modified +20 −6
src/bin/pg_dump/pg_dump.c modified +156 −64
src/bin/pg_dump/pg_dump.h modified +4 −1