Re: Trailing comma support in SELECT statements
| От | Tom Lane |
|---|---|
| Тема | Re: Trailing comma support in SELECT statements |
| Дата | |
| Msg-id | 11052.1413584327@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Trailing comma support in SELECT statements (Jim Nasby <Jim.Nasby@BlueTreble.com>) |
| Ответы |
Re: Trailing comma support in SELECT statements
|
| Список | pgsql-hackers |
Jim Nasby <Jim.Nasby@BlueTreble.com> writes:
> As I originally posted, if we're going to do this I think we should do it *EVERYWHERE* commas are used as delimiters,
saveCOPY input and output. Or we should at least get close to doing it everywhere. I think the only way things could
getmore annoying is if we accepted extra commas in SELECT but not in CREATE TABLE (as one example).
> To me completeness is more important than whether we do it or not; that said, I like the idea (as well as supporting
leadingextra commas).
Yeah, exactly. Personally I'm *not* for this, but if we do it we should
do it consistently: every comma-separated list in the SQL syntax should
work the same.
regards, tom lane
В списке pgsql-hackers по дате отправления: