Re: proposal sql: labeled function params

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Teodor Sigaev" <teodor(at)sigaev(dot)ru>
Cc: "Hannu Krosing" <hannu(at)2ndquadrant(dot)com>, Decibel! <decibel(at)decibel(dot)org>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Robert Haas" <robertmhaas(at)gmail(dot)com>, "Bruce Momjian" <bruce(at)momjian(dot)us>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: proposal sql: labeled function params
Date: 2008-08-23 06:20:44
Message-ID: 162867790808222320m6f341d07jc311da29bdb2ea8c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

2008/8/22 Teodor Sigaev <teodor(at)sigaev(dot)ru>:
>>> How about we poll -general and see what people say? I'll bet Tom a beer
>>> that no one replies saying they've created a => operator (unless maybe
>>> PostGIS uses it).
>
> Hstore uses it:
> * text => text - creates hstore type from two text strings
>
> select 'a'=>'b';
> ?column?
> ----------
> "a"=>"b"
>
>

we should to have flag (or names are in pg_proc already), when
function allows named params -etc lot of system functions doesn't
named params. So everywhere where function hasn't defined names, then
=> symbol should by transformed to => operator.

???
Pavel

Pavel

> --
> Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
> WWW: http://www.sigaev.ru/
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2008-08-23 06:21:39 Re: proposal sql: labeled function params
Previous Message Bruce Momjian 2008-08-23 03:36:24 Re: [PATCHES] VACUUM Improvements - WIP Patch