Re: 2018-03 Commitfest Summary (Andres #1) - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: 2018-03 Commitfest Summary (Andres #1)
Date
Msg-id CAMsr+YHWZP-QM7AEAMsYHHDJa4_YOXxt1FoN5mkD=mrpKdunOw@mail.gmail.com
Whole thread Raw
In response to Re: 2018-03 Commitfest Summary (Andres #1)  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: 2018-03 Commitfest Summary (Andres #1)  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: 2018-03 Commitfest Summary (Andres #1)  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
On 3 March 2018 at 17:56, Fabien COELHO <coelho@cri.ensmp.fr> wrote:

The (trivial) big picture is to allow client-side expressions in psql (which as a \if:-) by reusing pgbench expression engine, so that one could write things like

  \let i :j + 12 * :k

or

  \if :VERSION_NUM < 140000


I still haven't really grasped why this isn't done by embedding a client-side scripting language interpreter, giving us vastly greater capabilities with only the maintenance of the glue instead of writing our own ad-hoc scripting tool. Something confine-able like JavaScript or Lua.

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

pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: 2018-03 Commitfest Summary (Andres #1)
Next
From: Tomas Vondra
Date:
Subject: Re: [HACKERS] user-defined numeric data types triggering ERROR:unsupported type