diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-12-11 15:41:23 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-12-11 15:41:23 -0500 |
commit | 2c96b0ba8dc90b5a5f9f787b1acbc0ff27b1778f (patch) | |
tree | 02b8cc97c9f12a3b3118f1e6ba7efb88e9547ece /src/bin/pg_dump/parallel.c | |
parent | 2df66f01abe8b18e7e194989132dd263b5881b04 (diff) | |
download | postgresql-2c96b0ba8dc90b5a5f9f787b1acbc0ff27b1778f.tar.gz postgresql-2c96b0ba8dc90b5a5f9f787b1acbc0ff27b1778f.zip |
Fix assorted confusion between Oid and int32.
In passing, also make some debugging elog's in pgstat.c a bit more
consistently worded.
Back-patch as far as applicable (9.3 or 9.4; none of these mistakes are
really old).
Mark Dilger identified and patched the type violations; the message
rewordings are mine.
Diffstat (limited to 'src/bin/pg_dump/parallel.c')
-rw-r--r-- | src/bin/pg_dump/parallel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_dump/parallel.c b/src/bin/pg_dump/parallel.c index 864c1a6daee..b5fd86afe7c 100644 --- a/src/bin/pg_dump/parallel.c +++ b/src/bin/pg_dump/parallel.c @@ -813,7 +813,7 @@ lockTableNoWait(ArchiveHandle *AH, TocEntry *te) " pg_class.relname " " FROM pg_class " " JOIN pg_namespace on pg_namespace.oid = relnamespace " - " WHERE pg_class.oid = %d", te->catalogId.oid); + " WHERE pg_class.oid = %u", te->catalogId.oid); res = PQexec(AH->connection, query->data); |