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: Improve formatting of create_help.pl and plperl_opmask.pl output
Date: Thu, 17 Sep 2020 00:31:52 +0000
Message-ID: <E1kIhq4-0000Kx-4z@gemulon.postgresql.org> (raw)

Improve formatting of create_help.pl and plperl_opmask.pl output.

Adjust the whitespace in the emitted files so that it matches
what pgindent would do.  This makes the generated files look
like they match project style, and avoids confusion if someone
does run pgindent on the generated files.

Also, add probes.h to pgindent's exclusion list, because it can
confuse pgindent, plus there's not much point in processing it.

Daniel Gustafsson, additional fixes by me

Discussion: https://postgr.es/m/79ed5348-be7a-b647-dd40-742207186a22@2ndquadrant.com

Branch
------
master

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

Modified Files
--------------
src/bin/psql/create_help.pl              | 25 +++++++++++++------------
src/pl/plperl/plperl_opmask.pl           |  2 +-
src/tools/pgindent/README                |  8 ++++++++
src/tools/pgindent/exclude_file_patterns |  1 +
4 files changed, 23 insertions(+), 13 deletions(-)



Message-ID: <E1kIhq4-0000Kx-4z@gemulon.postgresql.org>
Permalink:  ../E1kIhq4-0000Kx-4z@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kIhq4-0000Kx-4z@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: Improve formatting of create_help.pl and plperl_opmask.pl output
  In-Reply-To: <E1kIhq4-0000Kx-4z@gemulon.postgresql.org>
  References: <E1kIhq4-0000Kx-4z@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