Re: [SPAM?]: Re: proposal sql: labeled function params

From: Hannu Krosing <hannu(at)2ndQuadrant(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: [SPAM?]: Re: proposal sql: labeled function params
Date: 2008-08-18 10:59:50
Message-ID: 1219057190.8075.44.camel@huvostro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 2008-08-18 at 10:51 +0300, Peter Eisentraut wrote:
> 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. :) )

Yes, I noticed that. Maybe we are onto something ;)

The exact moment I sent my mail away, I received yours.

------------
Hannu

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2008-08-18 10:59:52 Re: proposal sql: labeled function params
Previous Message Gregory Stark 2008-08-18 09:36:35 Re: any psql static binary for iphone ?