|
22 | 22 | * Portions Copyright (c) 1994, Regents of the University of California |
23 | 23 | * |
24 | 24 | * IDENTIFICATION |
25 | | - * $PostgreSQL: pgsql/src/backend/utils/time/snapmgr.c,v 1.5 2008/09/11 14:01:10 alvherre Exp $ |
| 25 | + * $PostgreSQL: pgsql/src/backend/utils/time/snapmgr.c,v 1.6 2008/10/27 22:15:05 alvherre Exp $ |
26 | 26 | * |
27 | 27 | *------------------------------------------------------------------------- |
28 | 28 | */ |
@@ -616,19 +616,14 @@ AtEOXact_Snapshot(bool isCommit) |
616 | 616 |
|
617 | 617 | /* complain about unpopped active snapshots */ |
618 | 618 | for (active=ActiveSnapshot;active!=NULL;active=active->as_next) |
619 | | -{ |
620 | | -ereport(WARNING, |
621 | | -(errmsg("snapshot %p still active",active))); |
622 | | -} |
| 619 | +elog(WARNING,"snapshot %p still active",active); |
623 | 620 |
|
624 | 621 | /* complain about any unregistered snapshot */ |
625 | 622 | for (regd=RegisteredSnapshotList;regd!=NULL;regd=regd->s_next) |
626 | | -{ |
627 | | -ereport(WARNING, |
628 | | -(errmsg("snapshot %p not destroyed at commit (%d regd refs, %d active refs)", |
629 | | -regd->s_snap,regd->s_snap->regd_count, |
630 | | -regd->s_snap->active_count))); |
631 | | -} |
| 623 | +elog(WARNING, |
| 624 | +"snapshot %p not destroyed at commit (%d regd refs, %d active refs)", |
| 625 | +regd->s_snap,regd->s_snap->regd_count, |
| 626 | +regd->s_snap->active_count); |
632 | 627 | } |
633 | 628 |
|
634 | 629 | /* |
|