Re: Statement timeout in pg_rewind - Mailing list pgsql-hackers

From Alexander Kukushkin
Subject Re: Statement timeout in pg_rewind
Date
Msg-id CAFh8B=no1sWzKs8sLSjFe7AGcdR2=w7XSSZdgdhYNWdvQKVocw@mail.gmail.com
Whole thread Raw
In response to Re: Statement timeout in pg_rewind  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Statement timeout in pg_rewind  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Tue, 27 Aug 2019 at 08:36, Michael Paquier <michael@paquier.xyz> wrote:

> I'd rather be on the safe side and as we are looking at this at this
> area..  Who knows if this logic is going to change in the future and
> how it will change.

Agree.

> Oops, I misread this part.  What about a simple wrapper
> run_simple_command which checks after PGRES_COMMAND_OK, and frees the
> result then?  This could be used for the temporary table creation and
> when setting synchronous_commit.

Done, please see the next version attached.

Regards,
--
Alexander Kukushkin

Attachment

pgsql-hackers by date:

Previous
From: Rafia Sabih
Date:
Subject: Re: Creating partitions automatically at least on HASH?
Next
From: ROS Didier
Date:
Subject: PostgreSQL and Real Application Testing (RAT)