postgresql/src/backend
Alexander Korotkov ec74369931 Implement "pg_ctl logrotate" command
Currently there are two ways to trigger log rotation in logging collector
process: call pg_rotate_logfile() SQL-function or send SIGUSR1 signal directly
to logging collector process.  However, it's nice to have more suitable way
for external tools to do that, which wouldn't require SQL connection or
knowledge of logging collector pid.  This commit implements triggering log
rotation by "pg_ctl logrotate" command.

Discussion: https://postgr.es/m/20180416.115435.28153375.horiguchi.kyotaro%40lab.ntt.co.jp
Author: Kyotaro Horiguchi, Alexander Kuzmenkov, Alexander Korotkov
2018-09-01 19:46:49 +03:00
..
access Ensure correct minimum consistent point on standbys 2018-08-31 11:03:40 -07:00
bootstrap Use a ResourceOwner to track buffer pins in all cases. 2018-07-18 12:15:16 -04:00
catalog Error position support for defaults and check constraints 2018-08-30 08:20:23 +02:00
commands Error position support for partition specifications 2018-08-30 08:20:23 +02:00
executor Set scan direction appropriately for SubPlans (bug #15336) 2018-08-17 15:44:13 +01:00
foreign Remove bogus "extern" annotations on function definitions. 2018-02-19 12:07:44 -05:00
jit LLVMJIT: LLVMGetHostCPUFeatures now is upstream, use LLMV version if available. 2018-08-24 10:21:38 -07:00
lib doc: Update redirecting links 2018-07-16 10:48:05 +02:00
libpq Suppress uninitialized-variable warning in new SCRAM code. 2018-08-24 10:51:10 -04:00
main Update copyright for 2018 2018-01-02 23:30:12 -05:00
nodes Disable support for partitionwise joins in problematic cases. 2018-08-31 20:34:06 +09:00
optimizer Disable support for partitionwise joins in problematic cases. 2018-08-31 20:34:06 +09:00
parser Fix lexing of standard multi-character operators in edge cases. 2018-08-23 21:42:40 +01:00
partitioning Fix typos. 2018-08-27 09:32:59 +12:00
po Translation updates 2018-06-25 12:37:18 +02:00
port Remove obsolete netbsd dynloader code 2018-08-13 23:21:01 +02:00
postmaster Implement "pg_ctl logrotate" command 2018-09-01 19:46:49 +03:00
regex Clean up warnings from -Wimplicit-fallthrough. 2018-05-01 19:35:08 -04:00
replication Ignore server-side delays when enforcing wal_sender_timeout. 2018-08-31 22:59:58 -07:00
rewrite Fix set of NLS translation issues 2018-08-21 15:17:13 +09:00
snowball Avoid unnecessary use of pg_strcasecmp for already-downcased identifiers. 2018-01-26 18:25:14 -05:00
statistics Fix typos. 2018-08-27 09:32:59 +12:00
storage Introduce minimal C99 usage to verify compiler support. 2018-08-23 18:36:07 -07:00
tcop Introduce minimal C99 usage to verify compiler support. 2018-08-23 18:36:07 -07:00
tsearch Hand code string to integer conversion for performance. 2018-07-22 14:58:23 -07:00
utils Avoid quadratic slowdown in regexp match/split functions. 2018-08-28 12:17:33 +01:00
.gitignore
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Rearrange makefile rules for running Gen_fmgrtab.pl. 2018-05-03 17:54:18 -04:00
nls.mk Translation updates 2018-06-25 12:37:18 +02:00