Re: Avoid repeated PQfnumber() in pg_dump - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: Avoid repeated PQfnumber() in pg_dump
Date
Msg-id 20210714152135.GC20208@telsasoft.com
Whole thread Raw
In response to Avoid repeated PQfnumber() in pg_dump  ("houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>)
List pgsql-hackers
On Wed, Jul 14, 2021 at 08:54:32AM +0000, houzj.fnst@fujitsu.com wrote:
> Since PQfnumber() is not a cheap function, I think we'd better invoke
> PQfnumber() out of the loop like the attatched patch.

+1

Please add to the next CF

-- 
Justin



pgsql-hackers by date:

Previous
From: Zhihong Yu
Date:
Subject: Re: ResourceOwner refactoring
Next
From: Heikki Linnakangas
Date:
Subject: Re: ResourceOwner refactoring