Re: Unnecessary call to resetPQExpBuffer in getIndexes

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Julien Rouhaud <rjuju123(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, peter(dot)eisentraut(at)enterprisedb(dot)com
Subject: Re: Unnecessary call to resetPQExpBuffer in getIndexes
Date: 2022-02-09 18:21:10
Message-ID: 20220209182110.GE1627503@nathanxps13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Feb 09, 2022 at 10:50:07AM +0800, Julien Rouhaud wrote:
> I just noticed that e2c52beecd (adding PeterE in Cc) added a resetPQExpBuffer()
> which seems unnecessary since the variable is untouched since the initial
> createPQExpBuffer().
>
> Simple patch attached.

LGTM

--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Euler Taveira 2022-02-09 18:23:06 Re: Identify missing publications from publisher while create/alter subscription.
Previous Message Nathan Bossart 2022-02-09 18:13:33 Re: [PATCH v2] use has_privs_for_role for predefined roles