pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Use \if ... \elif ... \else ... \endif to simplify alternative in psql scripting.
Date: Thu, 30 Mar 2017 13:12:53 -0400
Message-ID: <8623.1490893973@sss.pgh.pa.us> (raw)
In-Reply-To: <20170330170353.cqlzrqxkrgy3gupl@alap3.anarazel.de>
References: <E1ctdQB-0007J0-VU@gemulon.postgresql.org>
	<20170330170353.cqlzrqxkrgy3gupl@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Andres Freund <andres@anarazel.de> writes:
> On 2017-03-30 16:59:39 +0000, Tom Lane wrote:
>> Support \if ... \elif ... \else ... \endif in psql scripting.

> Could we use this to simplify maintenance of some of the larger
> alternative output files?

Worth thinking about, for sure.

			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 (2+ messages)

Message-ID: <8623.1490893973@sss.pgh.pa.us>
Permalink:  ../8623.1490893973@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8623.1490893973@sss.pgh.pa.us

 · 

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, andres@anarazel.de, pgsql-hackers@postgresql.org
  Subject: Re: Use \if ... \elif ... \else ... \endif to simplify alternative in psql scripting.
  In-Reply-To: <8623.1490893973@sss.pgh.pa.us>
  References: <E1ctdQB-0007J0-VU@gemulon.postgresql.org> <20170330170353.cqlzrqxkrgy3gupl@alap3.anarazel.de> <8623.1490893973@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