Re: [HACKERS] Removing typename from A_Const (was: Empty arrays with ARRAY[])

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [HACKERS] Removing typename from A_Const (was: Empty arrays with ARRAY[])
Дата
Msg-id 20080428210125.GI5761@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [HACKERS] Removing typename from A_Const (was: Empty arrays with ARRAY[])  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane escribió:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > I came up with the attached patch.
>
> I wasn't envisioning anything anywhere near this invasive.  We only
> need locations on constants in a few contexts, I think.

Aha.  OK, I'll commit the original patch and let you deal with the rest
of it :-)

> BTW, you broke _equalAConst() ... it was a bad idea anyway to recast
> it on the assumption that there would never again be more than one
> field.

Oops, sorry, I had intended to revert that part and forgot.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Removing typename from A_Const (was: Empty arrays with ARRAY[])
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Removing typename from A_Const (was: Empty arrays with ARRAY[])