Re: BUG #8633: Assigning to a variable named "current_time" gives wrong output

Поиск
Список
Период
Сортировка
От bricklen
Тема Re: BUG #8633: Assigning to a variable named "current_time" gives wrong output
Дата
Msg-id CAGrpgQ_6aBgPDXTR3G8KN6tsOuonBdvyXR3UEmB6GFYDqQOm0g@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #8633: Assigning to a variable named "current_time" gives wrong output  (michael.lancaster@exa-networks.co.uk)
Ответы Re: BUG #8633: Assigning to a variable named "current_time" gives wrong output
Список pgsql-bugs
On Wed, Nov 27, 2013 at 7:49 AM, <michael.lancaster@exa-networks.co.uk>wrote:

>
> Reading the value from a variable named 'current_time' that has a value
> assigned to it then assigns the value of the function 'current_time' rather
> than reading the value that was previously assigned.
>

I don't think this is a bug, "current_time" is a reserved word. See
http://www.postgresql.org/docs/current/static/sql-keywords-appendix.html

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

Предыдущее
От: michael.lancaster@exa-networks.co.uk
Дата:
Сообщение: BUG #8633: Assigning to a variable named "current_time" gives wrong output
Следующее
От: David Johnston
Дата:
Сообщение: Re: BUG #8633: Assigning to a variable named "current_time" gives wrong output