Re: bug in on_error_rollback !?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: bug in on_error_rollback !?
Дата
Msg-id 200610271849.34909.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: bug in on_error_rollback !?  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Ответы Re: bug in on_error_rollback !?  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Список pgsql-hackers
Gurjeet Singh wrote:
> \ds and \dS are commands (first token on the line) so it is
> acceptable that they be case-sensitive. But a command's
> parameters/arguments should not be case sensitive, unless quoted.

This distinction has not basis in SQL syntax.

> If it is documented that psql commands are case sensitive, then I
> would like to point to an ambiguity:

If it helps, compare this to ECPG: The C parts follow the syntax rules 
of C, the SQL parts follow the syntax rules of SQL.  In psql, the psql 
parts follow the syntax rules of psql, the SQL parts follow the syntax 
rules of SQL.  The syntax rules of psql in turn are inspired by Unix 
shells, sort of because psql is used that way.  (Surely one wouldn't 
want the argument to \i be case-insensitive?)

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] WAL logging freezing
Следующее
От: Jan Wieck
Дата:
Сообщение: qsort->pg_qsort in 8.2