Re: best place for "rtree" strategy numbers

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: best place for "rtree" strategy numbers
Дата
Msg-id 20150515044650.GE2519@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: best place for "rtree" strategy numbers  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: best place for "rtree" strategy numbers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Alvaro Herrera <alvherre@2ndquadrant.com> writes:

> > I can, of course, just leave these files well enough alone and just rely
> > on the numbers not changing (which surely they won't anyway) and
> > remaining consistent with numbers used in new opclasses (which surely
> > they will lest they be born inconsistent with existing ones).
>
> Yeah, we do have checks in opr_sanity which will complain if inconsistent
> strategy numbers are used for similarly-named operators.  That's a pretty
> weak test though, and operator names aren't exactly the right thing to
> check anyway.  I'd be good with pushing all of that stuff to a new central
> header.

So here's a patch for this.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Вложения

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

Предыдущее
От: Ashutosh Bapat
Дата:
Сообщение: Re: upper planner path-ification
Следующее
От: Haribabu Kommi
Дата:
Сообщение: Re: Providing catalog view to pg_hba.conf file - Patch submission