Which query is good - IN or OR - Mailing list pgsql-general

From AI Rumman
Subject Which query is good - IN or OR
Date
Msg-id AANLkTik0Scd+2=onn91=9Et11+fBsxQBAvHt7iD+OuEQ@mail.gmail.com
Whole thread Raw
Responses Re: Which query is good - IN or OR  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-general
A simple query I can write in any of the following two ways:

1. 
Select col1
from table
where col2 in ('A','B');

2.
Select col1
from table
where
 col2 = 'A'
or  col2 = 'B'

Here IN condition may be more than two.
I need to know which one is good for good performance.

Any idea please.

pgsql-general by date:

Previous
From: Ivano Luberti
Date:
Subject: Re: Implement online database using Postgresql
Next
From: Pavel Stehule
Date:
Subject: Re: Which query is good - IN or OR