Re: Deduplicate code updating ControleFile's DBState. - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Deduplicate code updating ControleFile's DBState.
Date
Msg-id YZ81d1c8rlVoYxFd@paquier.xyz
Whole thread Raw
In response to Re: Deduplicate code updating ControleFile's DBState.  (Amul Sul <sulamul@gmail.com>)
Responses Re: Deduplicate code updating ControleFile's DBState.
List pgsql-hackers
On Thu, Nov 25, 2021 at 10:21:40AM +0530, Amul Sul wrote:
> Thanks for the inputs --  moved timestamp setting inside update_controlfile().

I have not check the performance implication of that with a micro
benchmark or the like, but I can get behind 0001 on consistency
grounds between the backend and the frontend.  0002 does not seem
worth the trouble, though, as it is changing only two code paths.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Yugo NAGATA
Date:
Subject: Re: Implementing Incremental View Maintenance
Next
From: Yugo NAGATA
Date:
Subject: Re: Implementing Incremental View Maintenance