Re: [SQL] array_in: '{}}'::text[]

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: [SQL] array_in: '{}}'::text[]
Дата
Msg-id 41310A17.5020405@joeconway.com
обсуждение исходный текст
Ответ на Re: [SQL] array_in: '{}}'::text[]  (Markus Bertheau <twanger@bluetwanger.de>)
Список pgsql-patches
Markus Bertheau wrote:
>
> Without looking at the code in a whole, you accept '{} ' as an empty
> array literal, so why is the special case for '{}' needed here?

It's a fast path for a common special case. Why spend any cycles parsing
if we can immediately recognize it? However, anything other than a
simple '{}' does require parsing.

Joe

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [pgsql-hackers-win32] Service startup delay
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [BUGS] BUG #1219: pgxs does not work fully