Move session_start out of MyProcPort stucture and make it a global called MyStartTime,
authorAndrew Dunstan <andrew@dunslane.net>
Thu, 2 Aug 2007 23:39:45 +0000 (23:39 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 2 Aug 2007 23:39:45 +0000 (23:39 +0000)
commitbc2fb01c5611432158c0eb6eac347eccc1690b20
tree3a9b233176203147f0c36e5005c429e728c967d9
parent435a065143567ac382f1451c299d6f20641b73af
Move session_start out of MyProcPort stucture and make it a global called MyStartTime,
so that we will be able to create a cookie for all processes for CSVlogs.
It is set wherever MyProcPid is set. Take the opportunity to remove the now
unnecessary session-only restriction on the %s and %c escapes in log_line_prefix.
12 files changed:
doc/src/sgml/config.sgml
src/backend/bootstrap/bootstrap.c
src/backend/postmaster/autovacuum.c
src/backend/postmaster/pgarch.c
src/backend/postmaster/pgstat.c
src/backend/postmaster/postmaster.c
src/backend/postmaster/syslogger.c
src/backend/tcop/postgres.c
src/backend/utils/error/elog.c
src/backend/utils/init/globals.c
src/include/libpq/libpq-be.h
src/include/miscadmin.h