From 2c96b0ba8dc90b5a5f9f787b1acbc0ff27b1778f Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 11 Dec 2014 15:41:23 -0500 Subject: 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. --- src/bin/pg_dump/parallel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin/pg_dump/parallel.c') 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); -- cgit v1.2.3