Re: [GENERAL] IN vs equality (was Re: odd intermittent query hanging issue)

2012-05-20 Thread Tom Lane
Chris Angelico writes: > On Sat, May 19, 2012 at 3:09 AM, Steve Crawford > wrote: >> I also don't understand the "xcrm.channel_id in (1)" instead of >> "xcrm.channel_id = 1" unless this is a generated query and there could be >> multiple ids in that condition. > Side point from this thread. Is t

[GENERAL] IN vs equality (was Re: odd intermittent query hanging issue)

2012-05-19 Thread Chris Angelico
On Sat, May 19, 2012 at 3:09 AM, Steve Crawford wrote: > I also don't understand the "xcrm.channel_id in (1)" instead of > "xcrm.channel_id = 1" unless this is a generated query and there could be > multiple ids in that condition. Side point from this thread. Is there ever any difference between