Re: Remove lossy-operator RECHECK flag?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Remove lossy-operator RECHECK flag?
Дата
Msg-id 15100.1207940564@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Remove lossy-operator RECHECK flag?  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Ответы Re: Remove lossy-operator RECHECK flag?  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Список pgsql-hackers
"Guillaume Smet" <guillaume.smet@gmail.com> writes:
> Just wanted to point out that I personnally use the capability to
> remove the RECHECK of PostGIS opclass (I define a similar opclass
> without the recheck) when I enforce the SRID in the application:

To be blunt, that seems like a really bad idea, and I have not the
slightest hesitation about breaking your ability to do it.  How
do you know that the recheck-need corresponds to what you are testing
on the application side?

If there's actually some safe, consistent use for such behavior
then I think you need to lobby the PostGIS project to provide
access to it.
        regards, tom lane


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

Предыдущее
От: Decibel!
Дата:
Сообщение: Re: Separate psql commands from arguments
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Commit fest queue