Re: \crosstabview fixes
От | Alvaro Herrera |
---|---|
Тема | Re: \crosstabview fixes |
Дата | |
Msg-id | 20160413202321.GA42806@alvherre.pgsql обсуждение исходный текст |
Ответ на | \crosstabview fixes (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: \crosstabview fixes
|
Список | pgsql-hackers |
Tom Lane wrote: > I noticed that the \crosstabview documentation asserts that column name > arguments are handled per standard SQL semantics. In point of fact, > though, the patch expends a couple hundred lines to implement what is > NOT standard SQL semantics: matching unquoted names case-insensitively > is anything but that. I think we should rip all that out and do it as > per attached. Ah, yeah, I hadn't realized this bogosity. Haven't verified the patch in detail. > (I also took the trouble to make the error messages conform > to project style.) Not sure about this part. Many psql error messages are full sentences (start with uppercase, end in period); others start with the \ command being complained about. Compare alvherre=# \foobar Invalid command \foobar. Try \? for help. alvherre=# \copy foobar \copy: parse error at end of line -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: