David E. Wheeler wrote:
Coming to this a bit late, but it seems to me that, while it makes sense to assign a label to a value using "AS", it's kind of weird to use it to assign a value to a label.

SELECT foo( bar => 'ick', baz => 'ack' );
SELECT foo( bar AS 'ick', baz AS 'ack' );

We could do it the other way round:

SELECT foo( 'ick' AS bar, 'ack' AS baz);

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

--
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