Re: Improve checks for GUC recovery_target_xid

Fujii Masao <masao.fujii@gmail.com>

From: Fujii Masao <masao.fujii@gmail.com>
To: David Steele <david@pgbackrest.org>
Cc: Michael Paquier <michael@paquier.xyz>, Hüseyin Demir <huseyin.d3r@gmail.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2026-03-05T05:03:37Z
Lists: pgsql-hackers
On Thu, Mar 5, 2026 at 1:21 PM David Steele <david@pgbackrest.org> wrote:
> The prior standby is not running because of the invalid config. I
> figured it was better to start clean but when I update the
> recovery_target_timeline tests I was planning to use the same standby
> for all the new tests.

Alternatively, we can use $node_primary, since ALTER SYSTEM SET with
invalid recovery_target_timeline or recovery_target_xid does not
affect the primary.

Regards,

-- 
Fujii Masao



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Improve tests for recovery_target_timeline GUC.

  2. Improve validation of recovery_target_xid GUC values.