Re: proposal sql: labeled function params

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Hannu Krosing <hannu(at)2ndquadrant(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: proposal sql: labeled function params
Date: 2008-08-18 07:51:03
Message-ID: 200808181051.04541.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Am Saturday, 16. August 2008 schrieb Hannu Krosing:
> A "label" is the same thing as "variable"/"attribute"/"argument name" in
> all  programming languages I can think of. Why do you need two kinds of
> argument names in postgreSQL ?
>
> maybe you are after something like keyword arguments in python ?
>
> http://docs.python.org/tut/node6.html#SECTION006720000000000000000
>
> keyword arguments are a way of saying that you don't know all variable
> names (or "labels" if you prefer) at function defining time and are
> going to pass them in when calling.

I think we are beginning to talk about the same thing. (Meaning you and me --
not sure about the rest. :) )

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hans-Juergen Schoenig 2008-08-18 08:02:47 Re: any psql static binary for iphone ?
Previous Message Peter Eisentraut 2008-08-18 07:47:06 Re: any psql static binary for iphone ?