Re: xlog.c: removing ReadRecPtr and EndRecPtr - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: xlog.c: removing ReadRecPtr and EndRecPtr
Date
Msg-id 202111181921.5rcpgphchvb7@alvherre.pgsql
Whole thread Raw
In response to Re: xlog.c: removing ReadRecPtr and EndRecPtr  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: xlog.c: removing ReadRecPtr and EndRecPtr
List pgsql-hackers
On 2021-Nov-18, Robert Haas wrote:

> Unfortunately, this test case isn't remotely committable as-is, and I
> don't know how to make it so. The main problem is that, although you
> can start up a server with nothing in pg_wal, no restore_command, and
> no archive command, pg_ctl will not believe that it has started.

Would it work to start postmaster directly instad of using pg_ctl, and
then rely on (say) pg_isready?

-- 
Álvaro Herrera           39°49'30"S 73°17'W  —  https://www.EnterpriseDB.com/
"El que vive para el futuro es un iluso, y el que vive para el pasado,
un imbécil" (Luis Adler, "Los tripulantes de la noche")



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: xlog.c: removing ReadRecPtr and EndRecPtr
Next
From: Robert Haas
Date:
Subject: Re: xlog.c: removing ReadRecPtr and EndRecPtr