Re: Named arguments in function calls

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Rod Taylor <pg(at)rbt(dot)ca>, Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>
Cc: elein <elein(at)varlena(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Greg Stark <gsstark(at)mit(dot)edu>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Named arguments in function calls
Date: 2004-01-26 16:03:45
Message-ID: 200401261703.45273.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Rod Taylor wrote:
> If that was IS, then foo(x is 13) makes sense.

I like that syntax. For example

select interest(amount is 500.00, rate is 1.3)

is very readable, yet brief.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2004-01-26 16:17:49 Re: cache control?
Previous Message Tom Lane 2004-01-26 14:48:03 Re: what does it mean