From: | "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | "Dimitri Fontaine" <dfontaine(at)hi-media(dot)com> |
Cc: | "Ian Caulfield" <ian(dot)caulfield(at)gmail(dot)com>, "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: WIP: default values for function parameters |
Date: | 2008-12-12 13:37:23 |
Message-ID: | 162867790812120537j282d6106s407a487a84f31852@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2008/12/12 Dimitri Fontaine <dfontaine(at)hi-media(dot)com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> Le 12 déc. 08 à 14:14, Ian Caulfield a écrit :
>>
>> unpopular, and '=>' et al conflict with operators, would verilog-style
>> syntax - eg function( .param(value) ) - be an idea?
>
> Ok, time to revisit the classics then ;)
> http://www.gigamonkeys.com/book/functions.html#keyword-parameters
>
> That would give us things like this:
> SELECT foo(1, :name 'bar', :quantity 10);
>
> As colon character does not appear in the list of allowed characters for the
> CREATE OPERATOR, it seems it could be valid.
> http://www.postgresql.org/docs/8.3/interactive/sql-createoperator.html
>
I dislike do LISP from nice PL :)
I thing so $name => is safe, but I didn't test it.
regards
Pavel
> Regards,
> - --
> dim
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Darwin)
>
> iEYEARECAAYFAklCaCMACgkQlBXRlnbh1blryQCfR9/6qtOlSAOiMbQ+RD8PRTi+
> bsoAn2UiLMwZOG9nanXyMWfh5iAbQVTX
> =p37W
> -----END PGP SIGNATURE-----
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>
From | Date | Subject | |
---|---|---|---|
Next Message | Zdenek Kotala | 2008-12-12 13:38:21 | Re: [Patch] Space reservation (pgupgrade) |
Previous Message | Dimitri Fontaine | 2008-12-12 13:33:23 | Re: WIP: default values for function parameters |