postgresql/src/backend/tcop
Michael Paquier e788bd924c Add hooks for session start and session end, take two
These hooks can be used in loadable modules.  A simple test module is
included.

The first attempt was done with cd8ce3a but we lacked handling for
NO_INSTALLCHECK in the MSVC scripts (problem solved afterwards by
431f1599) so the buildfarm got angry.  This also fixes a couple of
issues noticed upon review compared to the first attempt, so the code
has slightly changed, resulting in a more simple test module.

Author: Fabrízio de Royes Mello, Yugo Nagata
Reviewed-by: Andrew Dunstan, Michael Paquier, Aleksandr Parfenov
Discussion: https://postgr.es/m/20170720204733.40f2b7eb.nagata@sraoss.co.jp
Discussion: https://postgr.es/m/20190823042602.GB5275@paquier.xyz
2019-10-01 12:15:25 +09:00
..
dest.c Initial pgindent run for v12. 2019-05-22 12:55:34 -04:00
fastpath.c Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
Makefile Define WIN32_STACK_RLIMIT throughout win32 and cygwin builds. 2019-04-09 08:25:39 -07:00
postgres.c Add hooks for session start and session end, take two 2019-10-01 12:15:25 +09:00
pquery.c Fix inconsistencies and typos in the tree 2019-07-29 12:28:30 +09:00
utility.c Allow setting statistics target for extended statistics 2019-09-11 00:25:51 +02:00