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)
commit63872601e84ec78fd1942d5779fccedd415c929f
tree5cc3a2c1d444e5775205a6a89e56ae5ccfe009ea
parentb34903453f69b972790ac8edddb3fac948dbea4a
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