From: Massimo Dal Zotto <dz@cs.unitn.it>
Marc G. Fournier <scrappy@hub.org>
From: Massimo Dal Zotto <dz@cs.unitn.it> > tprintf.patch > > tprintf.patch > > adds functions and macros which implement a conditional trace package > with the ability to change flags and numeric options of running > backends at runtime. > Options/flags can be specified in the command line and/or read from > the file pg_options in the data directory.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/nbtree/nbtree.c | modified | +3 −3 |
| src/backend/access/nbtree/nbtsort.c | modified | +3 −3 |
| src/backend/postmaster/postmaster.c | modified | +106 −15 |
| src/backend/storage/ipc/ipc.c | modified | +50 −29 |
| src/backend/storage/ipc/spin.c | modified | +28 −13 |
| src/backend/tcop/postgres.c | modified | +171 −97 |
| src/backend/utils/error/assert.c | modified | +6 −5 |
| src/backend/utils/error/elog.c | modified | +59 −19 |
| src/backend/utils/misc/Makefile | modified | +2 −2 |