Blank archive_command

From: Thom Brown <thom(at)linux(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Blank archive_command
Date: 2022-01-17 14:43:30
Message-ID: CAA-aLv6iMDoRTC84M_6GN_XVavH2-LejfZzcJNjLN4iSVeT92g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Should archive_command being blank when archiving is enabled result in
a fatal error? This doesn't even produce a warning when restarting,
just an entry in the log when it goes to archive a WAL segment, and
finds the archive_command is empty.

Is there a valid scenario where someone would have archiving enabled
but no archive command? Naturally it will build up WAL until it is
corrected, which will result in a less desirable error, and likely at
a less convenient time, and to avoid it, someone either has to have
checked the logs and noticed this error, or got curious as to why
their WAL collection is nearly running out of shelf space.

Thom

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shruthi Gowda 2022-01-17 14:57:18 Re: preserving db/ts/relfilenode OIDs across pg_upgrade (was Re: storing an explicit nonce)
Previous Message Magnus Hagander 2022-01-17 14:29:02 Re: Refactoring of compression options in pg_basebackup