Skip to content

Commit 006320e

Browse files
committed
AllocSetStats should probably be using unsigned format to show space totals.
1 parent e9b978c commit 006320e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/mmgr/aset.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Portions Copyright (c) 1994, Regents of the University of California
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/backend/utils/mmgr/aset.c,v 1.64 2005/10/15 02:49:36 momjian Exp $
14+
* $PostgreSQL: pgsql/src/backend/utils/mmgr/aset.c,v 1.65 2006/02/14 15:34:46 tgl Exp $
1515
*
1616
* NOTE:
1717
* This is a new (Feb. 05, 1999) implementation of the allocation set
@@ -1069,7 +1069,7 @@ AllocSetStats(MemoryContext context)
10691069
}
10701070
}
10711071
fprintf(stderr,
1072-
"%s: %ld total in %ld blocks; %ld free (%ld chunks); %ld used\n",
1072+
"%s: %lu total in %ld blocks; %lu free (%ld chunks); %lu used\n",
10731073
set->header.name, totalspace, nblocks, freespace, nchunks,
10741074
totalspace - freespace);
10751075
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy