postgresql/src/bin
Tom Lane 006f42c74d Fix a couple of issues with pg_dump's handling of inheritance child tables
that have default expressions different from their parent.  First, if the
parent table's default expression has to be split out as a separate
ALTER TABLE command, we need a dependency constraint to ensure that the
child's command is given second.  This is because the ALTER TABLE on the
parent will propagate to the child.  (We can't prevent that by using ONLY on
the parent's command, since it's possible that other children exist that
should receive the inherited default.)  Second, if the child has a NULL
default where the parent does not, we have to explicitly say DEFAULT NULL on
the child in order for this state to be preserved after reload.  (The latter
actually doesn't work right because of a backend bug, but that is a separate
issue.)

Backpatch as far as 8.0.  7.x pg_dump has enough issues with altered tables
(due to lack of dependency analysis) that trying to fix this one doesn't seem
very productive.
2007-10-28 19:08:02 +00:00
..
initdb Translation updates 2007-10-27 00:13:43 +00:00
ipcclean Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
pg_config Translation updates 2007-10-27 00:13:43 +00:00
pg_controldata Translation updates 2007-10-27 00:13:43 +00:00
pg_ctl Translation updates 2007-10-27 00:13:43 +00:00
pg_dump Fix a couple of issues with pg_dump's handling of inheritance child tables 2007-10-28 19:08:02 +00:00
pg_resetxlog Translation updates 2007-10-27 00:13:43 +00:00
pgevent Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
psql Translation updates 2007-10-27 00:13:43 +00:00
scripts Translation updates 2007-10-27 00:13:43 +00:00
Makefile Replace useless uses of := by = in makefiles. 2007-02-09 15:56:00 +00:00