Unnecessary call to resetPQExpBuffer in getIndexes

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: peter(dot)eisentraut(at)enterprisedb(dot)com
Subject: Unnecessary call to resetPQExpBuffer in getIndexes
Date: 2022-02-09 02:50:07
Message-ID: 20220209025007.eogz2aivcnvw46ym@jrouhaud
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
v1-0001-Remove-unnecessary-resetPQExpBuffer-call.patch text/plain 791 bytes

Responses

Browse pgsql-hackers by date

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