Re: proposal sql: labeled function params - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: proposal sql: labeled function params
Date
Msg-id 162867790808222320m6f341d07jc311da29bdb2ea8c@mail.gmail.com
Whole thread Raw
In response to Re: proposal sql: labeled function params  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-hackers
Hello

2008/8/22 Teodor Sigaev <teodor@sigaev.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@sigaev.ru
>                                                   WWW: http://www.sigaev.ru/
>


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] VACUUM Improvements - WIP Patch
Next
From: "Pavel Stehule"
Date:
Subject: Re: proposal sql: labeled function params