From 63828969c822449744e63b76bff993ccd1d3245e Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 8 Feb 2016 11:06:23 -0500 Subject: [PATCH] Use %u not %d to print OIDs. Oversight in commit 96198d94c. Etsuro Fujita --- contrib/postgres_fdw/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/postgres_fdw/connection.c b/contrib/postgres_fdw/connection.c index 3df86d1d0c..189f290cdf 100644 --- a/contrib/postgres_fdw/connection.c +++ b/contrib/postgres_fdw/connection.c @@ -159,7 +159,7 @@ GetConnection(UserMapping *user, bool will_prep_stmt) entry->have_error = false; entry->conn = connect_pg_server(server, user); - elog(DEBUG3, "new postgres_fdw connection %p for server \"%s\" (user mapping oid %d, userid %d)", + elog(DEBUG3, "new postgres_fdw connection %p for server \"%s\" (user mapping oid %u, userid %u)", entry->conn, server->servername, user->umid, user->userid); }