Sean Davis <sdavis2(at)mail(dot)nih(dot)gov> writes:
> Just a quick general question: Can someone comment on using where
> clauses like:
> (sample = 2 OR sample = 3 OR sample = 4)
> as compared to
> sample in (2,3,4)
> in terms of efficiency?
PG's parser expands the latter into the former, so there's no difference
for us. This is probably not true on other DBMSes.
regards, tom lane