mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Suppress compiler warning (pid_t isn't int everywhere)
This commit is contained in:
parent
b4594a66ba
commit
bd8a35655b
@ -15,7 +15,7 @@
|
|||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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:
|
case CONFLICT_MODE_FATAL:
|
||||||
elog(trace_recovery(DEBUG1),
|
elog(trace_recovery(DEBUG1),
|
||||||
"recovery disconnects session with pid %d because of conflict with %s",
|
"recovery disconnects session with pid %ld because of conflict with %s",
|
||||||
pid,
|
(long) pid,
|
||||||
reason);
|
reason);
|
||||||
break;
|
break;
|
||||||
case CONFLICT_MODE_ERROR:
|
case CONFLICT_MODE_ERROR:
|
||||||
elog(trace_recovery(DEBUG1),
|
elog(trace_recovery(DEBUG1),
|
||||||
"recovery cancels virtual transaction %u/%u pid %d because of conflict with %s",
|
"recovery cancels virtual transaction %u/%u pid %ld because of conflict with %s",
|
||||||
waitlist->backendId,
|
waitlist->backendId,
|
||||||
waitlist->localTransactionId,
|
waitlist->localTransactionId,
|
||||||
pid,
|
(long) pid,
|
||||||
reason);
|
reason);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* No conflict pending, so fall through */
|
/* No conflict pending, so fall through */
|
||||||
|
Loading…
Reference in New Issue
Block a user