pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Double-space commands in system_constraints.sql/system_functions
Date: Wed, 12 May 2021 22:41:47 +0000
Message-ID: <E1lgxY3-00008Y-PA@gemulon.postgresql.org> (raw)

Double-space commands in system_constraints.sql/system_functions.sql.

Previously, any error reported by the backend while reading
system_constraints.sql would report the entire file, not just the
particular command it was working on.  (Ask me how I know.)  Likewise,
there were chunks of system_functions.sql that would be read as one
command, which would be annoying if anything failed there.

The issue for system_constraints.sql is an oversight in commit
dfb75e478.  I didn't try to trace down where the poor formatting
in system_functions.sql started, but it's certainly contrary to
the advice at the head of that file.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7dde98728a2ef6d48ef397ee783dd130fdb34e6b

Modified Files
--------------
src/backend/catalog/genbki.pl            |  3 +-
src/backend/catalog/system_functions.sql | 47 ++++++++++++++++++++++++++++++++
2 files changed, 49 insertions(+), 1 deletion(-)



Message-ID: <E1lgxY3-00008Y-PA@gemulon.postgresql.org>
Permalink:  ../E1lgxY3-00008Y-PA@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lgxY3-00008Y-PA@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Double-space commands in system_constraints.sql/system_functions
  In-Reply-To: <E1lgxY3-00008Y-PA@gemulon.postgresql.org>
  References: <E1lgxY3-00008Y-PA@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