pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: Piotr Stefaniak <postgres@piotr-stefaniak.me>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: Andres Freund <andres@anarazel.de>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Preliminary results for proposed new pgindent implementation
Date: Fri, 16 Jun 2017 22:18:07 -0400
Message-ID: <23382.1497665887@sss.pgh.pa.us> (raw )
In-Reply-To: <VI1PR03MB11990AE83B88CAD06756A27BF2C10@VI1PR03MB1199.eurprd03.prod.outlook.com >
References: <20170519173111.zp6igkcg53egdy4s@alvherre.pgsql >
<cb9eebd2-0214-1f34-51af-ebb69ec8a711@2ndquadrant.com >
<29275.1497624664@sss.pgh.pa.us >
<8827.1497633050@sss.pgh.pa.us >
<20170616171946.qqy5tapovsamkxyg@alap3.anarazel.de >
<9900.1497634441@sss.pgh.pa.us >
<20170616180534.cdpduuq5a4twxuru@alap3.anarazel.de >
<12302.1497637380@sss.pgh.pa.us >
<20170616184238.GA5081@momjian.us >
<20170616185406.jpwq6o6ghpvprxmi@alap3.anarazel.de >
<20170616190441.GB5081@momjian.us >
<29590.1497643007@sss.pgh.pa.us >
<VI1PR03MB1199CEA13AEFE46308D9F7F5F2C10@VI1PR03MB1199.eurprd03.prod.outlook.com >
<12517.1497650535@sss.pgh.pa.us >
<VI1PR03MB11990AE83B88CAD06756A27BF2C10@VI1PR03MB1199.eurprd03.prod.outlook.com >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Piotr Stefaniak <postgres@piotr-stefaniak.me> writes:
> On 2017-06-17 00:02, Tom Lane wrote:
>> What I'm testing with right now has just four differences from your repo:
> There are also the "portability fixes" and they're the main problem.
Fair enough.
> I've simply removed things like capsicum or __FBSDID() because I thought
> it wouldn't be a problem since Postgres will have its own copy of indent
> anyway (so that its behavior is not a moving target). I can ifdef-out
> them instead of removing entirely, I just didn't think it was important
> anymore.
We should be able to deal with those via some #define hackery, no?
> I expect to be in trouble for replacing err() and errx(), though.
Understood. I think we could deal with this by providing err() and
errx() in a support file that would be part of our distribution but
not yours.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
view thread (50+ messages) latest in thread
Message-ID: <23382.1497665887@sss.pgh.pa.us>
Permalink: ../23382.1497665887@sss.pgh.pa.us/
Also on: postgresql.org/message-id/23382.1497665887@sss.pgh.pa.us
copy link · copy postgr.es
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 using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, postgres@piotr-stefaniak.me, bruce@momjian.us, andres@anarazel.de, peter.eisentraut@2ndquadrant.com, alvherre@2ndquadrant.com, robertmhaas@gmail.com, sfrost@snowman.net
Subject: Re: Preliminary results for proposed new pgindent implementation
In-Reply-To: <23382.1497665887@sss.pgh.pa.us>
* 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