Re: Named arguments in function calls

From: Rod Taylor <pg(at)rbt(dot)ca>
To: 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-25 22:32:31
Message-ID: 1075069951.385.30.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> The only question now is if it should be that we call the function with
> the variable x AS the value 13, or if we call the function with 13 AS the
> variable x. I.e.
...
> I don't know if one is more natural then the other in english. To my
> swedish ear both sounds as good. I like (x as 13) a little better, but I
> don't really care much what way around it will be.

If that was IS, then foo(x is 13) makes sense. I prefer foo(13 as x),
as in call foo with value 13 known as x.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2004-01-25 22:48:19 Where can I found semi-official VACUUM-delay patch for 7.4 ?
Previous Message Tom Lane 2004-01-25 22:23:09 Re: Named arguments in function calls