|
15 | 15 | * Portions Copyright (c) 1994, Regents of the University of California |
16 | 16 | * |
17 | 17 | * IDENTIFICATION |
18 | | - * $PostgreSQL: pgsql/src/backend/storage/ipc/standby.c,v 1.1 2009/12/19 01:32:35 sriggs Exp $ |
| 18 | + * $PostgreSQL: pgsql/src/backend/storage/ipc/standby.c,v 1.2 2009/12/31 22:07:36 tgl Exp $ |
19 | 19 | * |
20 | 20 | *------------------------------------------------------------------------- |
21 | 21 | */ |
@@ -234,17 +234,17 @@ ResolveRecoveryConflictWithVirtualXIDs(VirtualTransactionId *waitlist, |
234 | 234 | { |
235 | 235 | caseCONFLICT_MODE_FATAL: |
236 | 236 | elog(trace_recovery(DEBUG1), |
237 | | -"recovery disconnects session with pid %d because of conflict with %s", |
238 | | -pid, |
239 | | -reason); |
| 237 | +"recovery disconnects session with pid %ld because of conflict with %s", |
| 238 | + (long)pid, |
| 239 | +reason); |
240 | 240 | break; |
241 | 241 | caseCONFLICT_MODE_ERROR: |
242 | 242 | elog(trace_recovery(DEBUG1), |
243 | | -"recovery cancels virtual transaction %u/%u pid %d because of conflict with %s", |
244 | | -waitlist->backendId, |
245 | | -waitlist->localTransactionId, |
246 | | -pid, |
247 | | -reason); |
| 243 | +"recovery cancels virtual transaction %u/%u pid %ld because of conflict with %s", |
| 244 | +waitlist->backendId, |
| 245 | +waitlist->localTransactionId, |
| 246 | + (long)pid, |
| 247 | +reason); |
248 | 248 | break; |
249 | 249 | default: |
250 | 250 | /* No conflict pending, so fall through */ |
|