From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | proposal: ANSI SQL 2011 syntax for named parameters |
Date: | 2012-12-28 16:22:26 |
Message-ID: | CAFj8pRD82DOVWYqN5vQ-4OEZu3jK-B5mFDMXJ4kKqGTV0sGjOw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hello
I am not sure, but maybe is time to introduce ANSI SQL syntax for
functions' named parameters
It is defined in ANSI SQL 2011
CALL P (B => 1, A => 2)
instead PostgreSQL syntax CALL ( B := 1, A := 2)
Patch is very simple, but there are lot of questions about support
previous syntax.
* should we support both - probably yes
* how long time we will support pg syntax? - 2..5..ever years
* when we mark pg syntax as obsolete?
* when we remove pg syntax?
Regards
Pavel
Attachment | Content-Type | Size |
---|---|---|
ansi_named_params.patch | application/octet-stream | 5.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2012-12-28 17:58:53 | Re: pg_stat_statements: calls under-estimation propagation |
Previous Message | Tom Lane | 2012-12-28 15:57:05 | Re: enhanced error fields |