Re: PSQL commands: \quit_if, \quit_unless - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: PSQL commands: \quit_if, \quit_unless
Date
Msg-id d1a49833-98b3-b0c8-3885-ecb7857ab2c0@dunslane.net
Whole thread Raw
In response to Re: PSQL commands: \quit_if, \quit_unless  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PSQL commands: \quit_if, \quit_unless  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

On 11/28/2016 04:07 PM, Tom Lane wrote:
> ... We've generally refrained from inventing any control flow
> metacommands for psql


I think it's really time we seriously considered adding some flow 
control logic, though. I'm mildly tired of either jumping through hoops 
to get around the lack or having to switch to using some other thing 
that has the required logic mechanism (hello Perl).

cheers

andrew



pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: Tackling JsonPath support
Next
From: Tom Lane
Date:
Subject: Re: GiST support for UUIDs