Commit 006320e1 authored by Tom Lane's avatar Tom Lane

AllocSetStats should probably be using unsigned format to show space totals.

parent e9b978c8
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,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/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: * NOTE:
* This is a new (Feb. 05, 1999) implementation of the allocation set * This is a new (Feb. 05, 1999) implementation of the allocation set
...@@ -1069,7 +1069,7 @@ AllocSetStats(MemoryContext context) ...@@ -1069,7 +1069,7 @@ AllocSetStats(MemoryContext context)
} }
} }
fprintf(stderr, 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, set->header.name, totalspace, nblocks, freespace, nchunks,
totalspace - freespace); totalspace - freespace);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment