pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Refactor ParamListInfo initialization
Date: Thu, 14 Mar 2019 12:37:04 +0000
Message-ID: <E1h4Pbc-0008Hx-40@gemulon.postgresql.org> (raw)

Refactor ParamListInfo initialization

There were six copies of identical nontrivial code.  Put it into a
function.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c6ff0b892c30122b75d32c524109d16ee3c973f0

Modified Files
--------------
src/backend/commands/prepare.c   | 12 +-------
src/backend/executor/functions.c | 15 ++--------
src/backend/executor/spi.c       | 17 ++----------
src/backend/nodes/params.c       | 59 +++++++++++++++++++++-------------------
src/backend/tcop/postgres.c      | 11 +-------
src/include/nodes/params.h       |  1 +
src/pl/plpgsql/src/pl_exec.c     |  3 +-
7 files changed, 40 insertions(+), 78 deletions(-)



Message-ID: <E1h4Pbc-0008Hx-40@gemulon.postgresql.org>
Permalink:  ../E1h4Pbc-0008Hx-40@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1h4Pbc-0008Hx-40@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Refactor ParamListInfo initialization
  In-Reply-To: <E1h4Pbc-0008Hx-40@gemulon.postgresql.org>
  References: <E1h4Pbc-0008Hx-40@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox