diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-12-31 22:07:36 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-12-31 22:07:36 +0000 |
commit | bd8a35655b74bd017e1217f894cb93302486982b (patch) | |
tree | 7f5d681834aec271ec336c61256b75b03ed14e5e /src | |
parent | b4594a66baeba2067c721ead552534a25af096cc (diff) | |
download | postgresql-bd8a35655b74bd017e1217f894cb93302486982b.tar.gz postgresql-bd8a35655b74bd017e1217f894cb93302486982b.zip |
Suppress compiler warning (pid_t isn't int everywhere)
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/storage/ipc/standby.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/backend/storage/ipc/standby.c b/src/backend/storage/ipc/standby.c index 38bc005820b..e7dcbe26093 100644 --- a/src/backend/storage/ipc/standby.c +++ b/src/backend/storage/ipc/standby.c @@ -15,7 +15,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/storage/ipc/standby.c,v 1.1 2009/12/19 01:32:35 sriggs Exp $ + * $PostgreSQL: pgsql/src/backend/storage/ipc/standby.c,v 1.2 2009/12/31 22:07:36 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -234,17 +234,17 @@ ResolveRecoveryConflictWithVirtualXIDs(VirtualTransactionId *waitlist, { case CONFLICT_MODE_FATAL: elog(trace_recovery(DEBUG1), - "recovery disconnects session with pid %d because of conflict with %s", - pid, - reason); + "recovery disconnects session with pid %ld because of conflict with %s", + (long) pid, + reason); break; case CONFLICT_MODE_ERROR: elog(trace_recovery(DEBUG1), - "recovery cancels virtual transaction %u/%u pid %d because of conflict with %s", - waitlist->backendId, - waitlist->localTransactionId, - pid, - reason); + "recovery cancels virtual transaction %u/%u pid %ld because of conflict with %s", + waitlist->backendId, + waitlist->localTransactionId, + (long) pid, + reason); break; default: /* No conflict pending, so fall through */ |