mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
Make debug_ GUC varables output DEBUG1 rather than LOG, and mention in
docs that CLIENT/LOG_MIN_MESSAGES now controls debug_* output location. Doc changes included.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/gist/gist.c,v 1.102 2003/03/10 22:28:18 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/gist/gist.c,v 1.103 2003/05/27 17:49:45 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -1925,7 +1925,7 @@ gist_dumptree(Relation r, int level, BlockNumber blk, OffsetNumber coff)
|
||||
|
||||
maxoff = PageGetMaxOffsetNumber(page);
|
||||
|
||||
elog(DEBUG3, "%sPage: %d %s blk: %d maxoff: %d free: %d", pred,
|
||||
elog(DEBUG4, "%sPage: %d %s blk: %d maxoff: %d free: %d", pred,
|
||||
coff, (opaque->flags & F_LEAF) ? "LEAF" : "INTE", (int) blk,
|
||||
(int) maxoff, PageGetFreeSpace(page));
|
||||
|
||||
@ -1935,7 +1935,7 @@ gist_dumptree(Relation r, int level, BlockNumber blk, OffsetNumber coff)
|
||||
which = (IndexTuple) PageGetItem(page, iid);
|
||||
cblk = ItemPointerGetBlockNumber(&(which->t_tid));
|
||||
#ifdef PRINTTUPLE
|
||||
elog(DEBUG3, "%s Tuple. blk: %d size: %d", pred, (int) cblk,
|
||||
elog(DEBUG4, "%s Tuple. blk: %d size: %d", pred, (int) cblk,
|
||||
IndexTupleSize(which));
|
||||
#endif
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.99 2003/02/23 06:17:13 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.100 2003/05/27 17:49:45 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -1193,7 +1193,7 @@ _bt_insert_parent(Relation rel,
|
||||
BTPageOpaque lpageop;
|
||||
|
||||
if (!InRecovery)
|
||||
elog(DEBUG1, "_bt_insert_parent: concurrent ROOT page split");
|
||||
elog(DEBUG2, "_bt_insert_parent: concurrent ROOT page split");
|
||||
lpageop = (BTPageOpaque) PageGetSpecialPointer(page);
|
||||
/* Find the leftmost page at the next level up */
|
||||
pbuf = _bt_get_endpoint(rel, lpageop->btpo.level + 1, false);
|
||||
|
@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.64 2003/03/04 21:51:20 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.65 2003/05/27 17:49:45 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Postgres btree pages look like ordinary relation pages. The opaque
|
||||
@ -416,7 +416,7 @@ _bt_getbuf(Relation rel, BlockNumber blkno, int access)
|
||||
_bt_pageinit(page, BufferGetPageSize(buf));
|
||||
return buf;
|
||||
}
|
||||
elog(DEBUG1, "_bt_getbuf: FSM returned nonrecyclable page");
|
||||
elog(DEBUG2, "_bt_getbuf: FSM returned nonrecyclable page");
|
||||
_bt_relbuf(rel, buf);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user