David Fetter wrote:
On Thu, Jun 15, 2006 at 01:42:10PM -0400, Bruce Momjian wrote:
Tom Lane wrote:
momjian@postgresql.org (Bruce Momjian) writes:
o Allow function parameters to be passed by name,
get_employee_salary(emp_id => 12345, tax_year => 2001)
The odds of that syntax getting accepted may not be exactly zero,
but they are certainly vanishingly small. I thought we'd agreed
that a usable syntax would be like get_employee_salary(12345 AS
emp_id, 2001 AS tax_year)
TODO updated, but I thought "=>" was the Oracle syntax.
It is. I understand Tom's concern about not unnecessarily grabbing
operator symbols, but in this case, I believe it's overblown.
Interesting. Seems it is something we will have to discuss when we get
closer to a patch.

Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 8 | next ›
Discussion Overview
grouppgsql-committers @
postedJun 15, '06 at 4:54p
activeJun 15, '06 at 7:36p



site design / logo © 2018 Grokbase