Re: [HACKERS] Select queries which violates table constrains

2014-05-12 Thread Heikki Linnakangas
On 05/10/2014 09:24 PM, Joni Martikainen wrote: Hi, I investigated some select query performance issues and noticed that postgresql misses some obvious cases while processing SELECT query. I mean the case where WHERE clause contains statement which condition would be against table structure. (ex

Re: [HACKERS] Select queries which violates table constrains

2014-05-12 Thread Tom Lane
Joni Martikainen writes: > I investigated some select query performance issues and noticed that > postgresql misses some obvious cases while processing SELECT query. I > mean the case where WHERE clause contains statement which condition > would be against table structure. (excuse my language,