Re: RecoveryInProgress() has critical side effects - Mailing list pgsql-hackers

From Robert Haas
Subject Re: RecoveryInProgress() has critical side effects
Date
Msg-id CA+Tgmoa4DZEnOXrzRFruvE_=vTXgGNPpQ1doMyRYtbJXNWJvjw@mail.gmail.com
Whole thread Raw
In response to Re: RecoveryInProgress() has critical side effects  (Andres Freund <andres@anarazel.de>)
Responses Re: RecoveryInProgress() has critical side effects
List pgsql-hackers
On Tue, Nov 16, 2021 at 2:27 PM Andres Freund <andres@anarazel.de> wrote:
> Is this with assertions enabled? Because on my workstation (which likely is
> slower on a single-core basis than your laptop) I get around half of this with
> an optimized build (and a non-optimized build rarely is worth using as a
> measuring stick). It could also be that your psqlrc does something
> heavyweight?

Assertions disabled. ~/.psqlrc does not exist.

> Hm. I think this might included a bunch of convoluting factors that make it
> hard to judge the actual size of the performance difference.

Yes, I think so, too.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: pgsql: Fix headerscheck failure in replication/worker_internal.h
Next
From: Andrew Dunstan
Date:
Subject: Re: Granting SET and ALTER SYSTE privileges for GUCs