pgsql: Initialize tableoid field correctly when dumping foreign data wr - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Initialize tableoid field correctly when dumping foreign data wr
Date
Msg-id E1OykTs-0007ja-Lc@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=7e8c25c66e9837d5dafeb2b3a0786611226af269

Modified Files
--------------
src/bin/pg_dump/pg_dump.c |   10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Re-allow input of Julian dates prior to 0001-01-01 AD.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Initialize tableoid field correctly when dumping foreign data wr