Re: PATCH: pgbench allow '=' in \set

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: PATCH: pgbench allow '=' in \set
Дата
Msg-id alpine.DEB.2.10.1505072053480.20788@sto
обсуждение исходный текст
Ответ на Re: PATCH: pgbench allow '=' in \set  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-hackers
> ​Would "colon-equal" be more acceptable - like in pl/pgsql?

Hmmm... I would tend to think that is even clearer as a separator than a 
mere "=". Too much Pascal in my youth? :-)

Although ":" means beginning of variable name in pgbench, I would not 
think that it is an issue because = is not a valid variable name.

> Even if "=" becomes a valid operator I would have to think it is a binary
> operator and so its position at the start of an expression would still be
> unambiguous as to whether it is cosmetic or functional.

That is also my conclusion.

-- 
Fabien.

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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: PATCH: pgbench allow '=' in \set
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Disabling trust/ident authentication configure option