Re: \if, \elseif, \else, \endif (was Re: PSQL commands: \quit_if, \quit_unless)

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Cc: Daniel Verite <daniel(at)manitou-mail(dot)org>, Erik Rijkers <er(at)xs4all(dot)nl>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>, PostgreSQL <pgsql-hackers(at)postgresql(dot)org>, pgsql-hackers-owner(at)postgresql(dot)org
Subject: Re: \if, \elseif, \else, \endif (was Re: PSQL commands: \quit_if, \quit_unless)
Date: 2017-02-06 19:32:53
Message-ID: alpine.DEB.2.20.1702062030240.8133@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> Do you think the TAP tests would benefit from having the input described
> in a q(...) block rather than a string?

My 0.02€: Not really, so I would not bother. It breaks perl indentation
and logic for a limited benefit. Maybe add comments if you feel that a
test case is unclear.

--
Fabien.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2017-02-06 19:44:24 Re: LWLock optimization for multicore Power machines
Previous Message Peter Eisentraut 2017-02-06 19:29:18 Re: [PROPOSAL] Temporal query processing with range types