Re: [HACKERS] Undefined psql variables

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: [HACKERS] Undefined psql variables
Дата
Msg-id alpine.DEB.2.20.1701232152080.31421@lancre
обсуждение исходный текст
Ответ на Re: [HACKERS] Undefined psql variables  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Back in the day, PG allowed ":" as a generic operator name, making
> this even worse; but I think the only remaining SQL syntax that could
> include a colon is array slicing.

Ok, so the behavior of replacing ":unknown" by same cannot be changed.

Some fun:
  \set 1 1  SELECT ('{1,2,3,4,5,6,7,8,9,10,11,12}'::INT[])[1:1];  -- yields 11

-- 
Fabien.



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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: [HACKERS] Allowing nonzero return codes from \quit
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: [HACKERS] PoC plpgsql - possibility to force custom or genericplan