Unnecessary call to resetPQExpBuffer in getIndexes - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Unnecessary call to resetPQExpBuffer in getIndexes
Date
Msg-id 20220209025007.eogz2aivcnvw46ym@jrouhaud
Whole thread Raw
Responses Re: Unnecessary call to resetPQExpBuffer in getIndexes
List pgsql-hackers
Hi,

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.

Attachment

pgsql-hackers by date:

Previous
From: Ian Lawrence Barwick
Date:
Subject: Re: is the base backup protocol used by out-of-core tools?
Next
From: Kyotaro Horiguchi
Date:
Subject: Re: Add checkpoint and redo LSN to LogCheckpointEnd log message