-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 12 déc. 08 à 15:57, Gregory Stark a écrit :
These don't solve anything. There's nothing stopping you from defining a unary
prefix operator => or =

That's why I'm preferring the common-lisp syntax of :param value, or its variant param: value.

In any case this is all weird. SQL isn't C and doesn't have random bits of punctuation involved in syntax. It uses whole words for just about everything. Anything you do using punctuation characters is going to look out of place.

Well, with the exception of function argument list, beginning with ( and ending with ) and where parameters are separated by ,. Maybe some : in there would shock users.

  SELECT foo(a, b, c);
  SELECT foo(a, :c 5);
  SELECT foo(a, c: 5);

Not so much new punctuation characters there, 1 out of 4.
- --
dim




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iEYEARECAAYFAklCfysACgkQlBXRlnbh1blWJQCfdLCB0B9xOzvfX2tOfoBL4cxo
X4UAoI3aTK+834Cx5Wbly/snj2hQbQTX
=s6w5
-----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

Reply via email to