]> granicus.if.org Git - postgresql/commitdiff
AllocSetStats should probably be using unsigned format to show space totals.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 14 Feb 2006 15:34:46 +0000 (15:34 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 14 Feb 2006 15:34:46 +0000 (15:34 +0000)
src/backend/utils/mmgr/aset.c

index 70bcf778a14845568d85e38bdf04a0695eb47ee5..7c1921ad7dfe53d7d657da494e5e7061b4b28c84 100644 (file)
@@ -11,7 +11,7 @@
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/utils/mmgr/aset.c,v 1.64 2005/10/15 02:49:36 momjian Exp $
+ *       $PostgreSQL: pgsql/src/backend/utils/mmgr/aset.c,v 1.65 2006/02/14 15:34:46 tgl Exp $
  *
  * NOTE:
  *     This is a new (Feb. 05, 1999) implementation of the allocation set
@@ -1069,7 +1069,7 @@ AllocSetStats(MemoryContext context)
                }
        }
        fprintf(stderr,
-                       "%s: %ld total in %ld blocks; %ld free (%ld chunks); %ld used\n",
+                       "%s: %lu total in %ld blocks; %lu free (%ld chunks); %lu used\n",
                        set->header.name, totalspace, nblocks, freespace, nchunks,
                        totalspace - freespace);
 }