Re: WIP: default values for function parameters
От | Pavel Stehule |
---|---|
Тема | Re: WIP: default values for function parameters |
Дата | |
Msg-id | 162867790812120537j282d6106s407a487a84f31852@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: WIP: default values for function parameters (Dimitri Fontaine <dfontaine@hi-media.com>) |
Список | pgsql-hackers |
2008/12/12 Dimitri Fontaine <dfontaine@hi-media.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@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-hackers >
В списке pgsql-hackers по дате отправления: