Re: pgsql: Clarify dynamic pl/pgsql item and add URLs.

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Clarify dynamic pl/pgsql item and add URLs.
Date: 2006-06-15 17:42:10
Message-ID: 200606151742.k5FHgAd06736@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Tom Lane wrote:
> momjian(at)postgresql(dot)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.

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

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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2006-06-15 17:49:10 pgsql: Add mention that preload_libraries check the magic block, so
Previous Message Bruce Momjian 2006-06-15 17:42:02 pgsql: Update syntax suggestion: < get_employee_salary(emp_id =>