From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Marko Tiikkaja <marko(at)joh(dot)to>, Robert Haas <robertmhaas(at)gmail(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Petr Jelinek <petr(at)2ndquadrant(dot)com>, Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: proposal: plpgsql - Assert statement |
Date: | 2014-11-20 11:58:29 |
Message-ID: | CA+U5nMK3+7kgA87aU4T373tgaWHO8pKhZT2YEw74f4V1WWueWw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 19 November 2014 23:29, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
>> 2014-11-19 23:54 GMT+01:00 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
>>> The core of that complaint is that we'd have to make ASSERT a plpgsql
>>> reserved word, which is true enough as things stand today. However,
>>> why is it that plpgsql statement-introducing keywords need to be
>>> reserved?
>
>> Doesn't it close a doors to implement a procedures call without explicit
>> CALL statement (like PL/SQL) ?
>
> So, in order to leave the door open for implicit CALL (which nobody's
> ever proposed or tried to implement AFAIR), you're willing to see every
> other proposal for new plpgsql statements go down the drain due to
> objections to new reserved words? I think your priorities are skewed.
>
> (If we did want to allow implicit CALL, I suspect that things could be
> hacked so that it worked for any function name that wasn't already an
> unreserved keyword, anyway. So you'd be no worse off.)
Implictly CALLed procedures/function-that-return-void would be a great
feature for 9.5
Great proposal.
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2014-11-20 12:30:40 | Re: pg_background (and more parallelism infrastructure patches) |
Previous Message | Alex Shulgin | 2014-11-20 11:57:12 | Re: [PATCH] add ssl_protocols configuration option |