Re: Remove lossy-operator RECHECK flag?

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: Remove lossy-operator RECHECK flag?
Дата
Msg-id 47FFA6DD.6020408@sigaev.ru
обсуждение исходный текст
Ответ на Remove lossy-operator RECHECK flag?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Remove lossy-operator RECHECK flag?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> I can think of is that it'd break user-defined opclasses ... but it's
> not like we don't change the API for GIST/GIN support functions from
> time to time anyway.  Does anyone have any idea how many people are
Hmm. The biggest breakage of interface to indexes was a removing 
pg_am.amconcurrent flag - there is one or two implementation of indexes which 
was depending of this flag. All our modules related to GIN or GiST  are in 
contrib already, new wildspeed will not work with <=8.3 version anyway.

> building custom opclasses containing lossy operators?  Offhand I suspect
> only the PostGIS project would be affected.
Yes, I think so.

> If we do this, should we remove RECHECK from the CREATE OPERATOR CLASS
> syntax altogether, or leave it in but treat it as a no-op (probably
> with a warning)?  
I think, it should be a error, but not a syntax error - hint should point to use 
new version of module. Loading dump from previous versions with opclass 
definitions is not good action anyway.

-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Cached Query Plans
Следующее
От: "Dickson dos Santos Guedes"
Дата:
Сообщение: Patch to add objetct size on "\d+" verbose output