Initialize foreign table specific variables to suppress compiler's warning.
authorShigeru Hanada <hanada@metrosystems.co.jp>
Tue, 28 Sep 2010 11:11:59 +0000 (20:11 +0900)
committerShigeru Hanada <hanada@metrosystems.co.jp>
Thu, 30 Sep 2010 04:32:54 +0000 (13:32 +0900)
src/bin/pg_dump/pg_dump.c

index debd1b587a65c7bf558cacc3c89bfc51dfb1e6f3..58a31c408bc5f97c476efce1aa6f7d1222075921 100644 (file)
@@ -11010,7 +11010,11 @@ dumpTableSchema(Archive *fout, TableInfo *tbinfo)
            PQclear(res);
        }
        else
+       {
            reltypename = "TABLE";
+           srvname = NULL;
+           ftoptions = NULL;
+       }
        numParents = tbinfo->numParents;
        parents = tbinfo->parents;