Here is a patch to use %u not %d to print umid and userid.
Best regards, Etsuro Fujita
*** a/contrib/postgres_fdw/connection.c --- b/contrib/postgres_fdw/connection.c *************** *** 159,165 **** 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)", entry->conn, server->servername, user->umid, user->userid); } --- 159,165 ---- entry->have_error = false; entry->conn = connect_pg_server(server, user); ! elog(DEBUG3, "new postgres_fdw connection %p for server \"%s\" (user mapping oid %u, userid %u)", entry->conn, server->servername, user->umid, user->userid); }
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers