$ initdb testpg$ cat << 'EOF' >> testpg/postgresql.conf> wal_level = hot_standby> archive_mode = on> archive_timeout = 10> checkpoint_timeout = 1h> archive_command = 'echo $(date) archive %p'> log_checkpoints = on> EOF$ postgres -D testpgLOG: database system was shut down at 2015-10-13 11:58:45 PDTLOG: MultiXact member wraparound protections are now enabledLOG: autovacuum launcher startedLOG: database system is ready to accept connectionsTue Oct 13 12:00:47 PDT 2015 archive pg_xlog/000000010000000000000001Tue Oct 13 12:00:57 PDT 2015 archive pg_xlog/000000010000000000000002LOG: checkpoint starting: xlogTue Oct 13 12:01:07 PDT 2015 archive pg_xlog/000000010000000000000003LOG: checkpoint complete: wrote 0 buffers (0.0%); 0 transaction log file(s) added, 0 removed, 0 recycled; write=0.000 s, sync=0.000 s, total=0.026 s; sync files=0, longest=0.000 s, average=0.000 sTue Oct 13 12:01:17 PDT 2015 archive pg_xlog/000000010000000000000004Tue Oct 13 12:01:27 PDT 2015 archive pg_xlog/000000010000000000000005LOG: checkpoint starting: xlogTue Oct 13 12:01:38 PDT 2015 archive pg_xlog/000000010000000000000006LOG: checkpoint complete: wrote 0 buffers (0.0%); 0 transaction log file(s) added, 0 removed, 3 recycled; write=0.000 s, sync=0.000 s, total=0.027 s; sync files=0, longest=0.000 s, average=0.000 sTue Oct 13 12:01:48 PDT 2015 archive pg_xlog/000000010000000000000007Tue Oct 13 12:01:58 PDT 2015 archive pg_xlog/000000010000000000000008LOG: checkpoint starting: xlogLOG: checkpoint complete: wrote 0 buffers (0.0%); 0 transaction log file(s) added, 0 removed, 3 recycled; write=0.000 s, sync=0.000 s, total=0.001 s; sync files=0, longest=0.000 s, average=0.000 s
$ initdb testpg$ cat << 'EOF' >> testpg/postgresql.conf> wal_level = archive> archive_mode = on> archive_timeout = 10> checkpoint_timeout = 60> archive_command = 'echo $(date) archive %p'> log_checkpoints = on> EOF# lrowe@Laurences-iMac ~/scratch $ postgres -D testpgLOG: database system was shut down at 2015-10-13 12:25:38 PDTLOG: MultiXact member wraparound protections are now enabledLOG: autovacuum launcher startedLOG: database system is ready to accept connectionsTue Oct 13 12:25:49 PDT 2015 archive pg_xlog/000000010000000000000001LOG: checkpoint starting: timeLOG: checkpoint complete: wrote 0 buffers (0.0%); 0 transaction log file(s) added, 0 removed, 0 recycled; write=0.000 s, sync=0.000 s, total=0.029 s; sync files=0, longest=0.000 s, average=0.000 sTue Oct 13 12:26:39 PDT 2015 archive pg_xlog/000000010000000000000002LOG: checkpoint starting: timeLOG: checkpoint complete: wrote 0 buffers (0.0%); 0 transaction log file(s) added, 0 removed, 1 recycled; write=0.000 s, sync=0.000 s, total=0.030 s; sync files=0, longest=0.000 s, average=0.000 sTue Oct 13 12:27:39 PDT 2015 archive pg_xlog/000000010000000000000003
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных