aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-02-10 14:09:21 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2012-02-10 14:09:21 -0500
commit97dc3c8a147c01da38570e4be7b4979af918dca2 (patch)
tree221b4657b527693f594622531d98bb26d2299af8 /src/backend/executor/nodeModifyTable.c
parent00bc96bd2b6646c73a073aa91dc68ed4718cf5f3 (diff)
downloadpostgresql-97dc3c8a147c01da38570e4be7b4979af918dca2.tar.gz
postgresql-97dc3c8a147c01da38570e4be7b4979af918dca2.zip
Fix brain fade in previous pg_dump patch.
In pre-7.3 databases, pg_attribute.attislocal doesn't exist. The easiest way to make sure the new inheritance logic behaves sanely is to assume it's TRUE, not FALSE. This will result in printing child columns even when they're not really needed. We could work harder at trying to reconstruct a value for attislocal, but there is little evidence that anyone still cares about dumping from such old versions, so just do the minimum necessary to have a valid dump. I had this correct in the original draft of the patch, but for some unaccountable reason decided it wasn't necessary to change the value. Testing against an old server shows otherwise...
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions