Thread: BUG #14190: 'silent_mode=on', 'pg_ctl restart -w' or 'pg_ctl start -w' reports error
BUG #14190: 'silent_mode=on', 'pg_ctl restart -w' or 'pg_ctl start -w' reports error
From
sideuxb-ky.consultant@dgfip.finances.gouv.fr
Date:
VGhlIGZvbGxvd2luZyBidWcgaGFzIGJlZW4gbG9nZ2VkIG9uIHRoZSB3ZWJz aXRlOgoKQnVnIHJlZmVyZW5jZTogICAgICAxNDE5MApMb2dnZWQgYnk6ICAg ICAgICAgIEhlbnJpIEt5CkVtYWlsIGFkZHJlc3M6ICAgICAgc2lkZXV4Yi1r eS5jb25zdWx0YW50QGRnZmlwLmZpbmFuY2VzLmdvdXYuZnIKUG9zdGdyZVNR TCB2ZXJzaW9uOiA5LjEuMjAKT3BlcmF0aW5nIHN5c3RlbTogICBDZW50T1Mg Ni41CkRlc2NyaXB0aW9uOiAgICAgICAgCgpGcm9tIHZlcnNpb24gOS4xLjIw LCB3aXRoICJzaWxlbnRfbW9kZT1vbiIsICdwZ19jdGwgcmVzdGFydCAtdyAt RCAkUEdEQVRBIC1tCmZhc3QnIG9yICdwZ19jdGwgc3RvcCAtdyAtRCAkUEdE QVRBIC1tIGZhc3QnIHJlcG9ydHM6DQoNCndhaXRpbmcgZm9yIHNlcnZlciB0 byBzdGFydC4uLi4gc3RvcHBlZCB3YWl0aW5nDQpwZ19jdGw6IGNvdWxkIG5v dCBzdGFydCBzZXJ2ZXINCkV4YW1pbmUgdGhlIGxvZyBvdXRwdXQuDQoNCmFu ZCByZXR1cm5zICcxJyBhcyBleGVjdXRpb24gY29kZS4NCg0KRGVzcGl0ZSB0 aGUgZXJyb3IgbWVzc2FnZSwgdGhlIHNlcnZlciBpcyBydW5uaW5nIHdpdGhv dXQgZXJyb3IgaW4gc3lzbG9nLg0KDQpSZWdhcmRzDQoKCg==
Re: BUG #14190: 'silent_mode=on', 'pg_ctl restart -w' or 'pg_ctl start -w' reports error
From
Tom Lane
Date:
sideuxb-ky.consultant@dgfip.finances.gouv.fr writes: > From version 9.1.20, with "silent_mode=on", 'pg_ctl restart -w -D $PGDATA -m > fast' or 'pg_ctl stop -w -D $PGDATA -m fast' reports: > waiting for server to start.... stopped waiting > pg_ctl: could not start server > Examine the log output. silent_mode is gone entirely in 9.2 and later. IIRC, one of the reasons for removing it was that it breaks pg_ctl -w. Don't use it if you intend to start/stop the postmaster that way. regards, tom lane