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

From Corey Huinker
Subject Re: [HACKERS] PSQL commands: \quit_if, \quit_unless
Date
Msg-id CADkLM=dUipEwY+kN7RR=wg88anOeb=+rXi_tbfiVt2AL8nf6Cg@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] PSQL commands: \quit_if, \quit_unless  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: [HACKERS] PSQL commands: \quit_if, \quit_unless  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Ok, so activity on this thread has died down. I'm not sure if that's consensus or exhaustion.

Are we good with:
- implementing basic \if EXPR \elseif EXPR \else \endif, where the EXPR is an expression but is currently limited to a simple string that will be evaluated for truth via ParseVariableBool()?
- moving beyond trivial expressions in a later commit?
- leaving loops out for now?

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [HACKERS] Protect syscache from bloating with negative cacheentries
Next
From: Serge Rielau
Date:
Subject: Re: [HACKERS] Packages: Again