Re: pgbench - add \if support - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: pgbench - add \if support
Date
Msg-id CAMsr+YGHYUsSfzxyJ8UQOB3qKn86zdhfiNzMKWRRVxeiW+ovxA@mail.gmail.com
Whole thread Raw
In response to Re: pgbench - add \if support  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: pgbench - add \if support
Re: pgbench - add \if support
List pgsql-hackers
On 16 January 2018 at 06:28, Fabien COELHO <coelho@cri.ensmp.fr> wrote:

Here is a rebase. I made some tests use actual expressions instead of just 0 and 1. No other changes.

Sigh. Better with the attachment. Sorry for the noise.

Here is a very minor rebase.

I'm a smidge worried about this. It seems like psql is growing a scripting language. Do we want to go our own way with a kind of organically grown scripting system? Or should we be looking at embedding client-side scripting in a more structured, formal way instead? Embed a lua interpreter or something?

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: pl/perl extension fails on Windows
Next
From: Craig Ringer
Date:
Subject: Re: bytea bitwise logical operations implementation (xor / and / or / not)