From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | "Bruce Momjian" <bruce(at)momjian(dot)us>, "Gregory Stark" <stark(at)enterprisedb(dot)com>, "Grzegorz Jaskiewicz" <gj(at)pointblue(dot)com(dot)pl>, "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>, "Peter Eisentraut" <peter_e(at)gmx(dot)net> |
Subject: | Re: WIP: default values for function parameters |
Date: | 2008-12-10 16:47:17 |
Message-ID: | 2910.1228927637@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
"Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> writes:
> 2008/12/10 Bruce Momjian <bruce(at)momjian(dot)us>:
>> Well, that is interesting, but in SQL we already use 'AS' in most places
>> where we want to assign a label to a value, so it seems AS is more
>> logical for SQL at this point.
> Question is - what is label - is it parameter name or some other value?
> Every output in SQL has default label - column name, or some default.
> And we use "AS" for change this default label. So using AS for param
> names is bad idea.
That argument is complete nonsense. A function parameter can't possibly
be an "output" of a SQL statement, so there is no conflict.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2008-12-10 17:14:15 | Re: WIP: default values for function parameters |
Previous Message | Kevin Grittner | 2008-12-10 16:37:42 | Re: Simple postgresql.conf wizard |