]> granicus.if.org Git - postgresql/commit
Initialize tableoid field correctly when dumping foreign data wrappers and
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 23 Sep 2010 11:49:00 +0000 (14:49 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 23 Sep 2010 12:00:04 +0000 (15:00 +0300)
commit0e6519e11523e8f504d29eb05e4775aa6a847fa5
tree67d5467a5200c37d83b79a86befaac07e2adaff2
parent6f664c1af4ebb8d4f131af04d5762ac6f720b70b
Initialize tableoid field correctly when dumping foreign data wrappers and
servers. AFAICT it's harmless at the moment because nothing can depend on
either, but as soon as we introduce an object type with such dependencies,
tableoid needs to be set or pg_dump will fail to interpret the dependencies
correctly. In theory, I guess the uninitialized garbage in tableoid could
cause the object to be mistaken for some other object with same OID as well.
src/bin/pg_dump/pg_dump.c