Dennis Gearon wrote on 18.05.2010 19:05:
> select * from pg_class where relkind IN IN (‘r’, ‘v’, ‘S’);
^^ ^ ^
You repeated the keyword IN, and you are using the wrong quotes (unless this is a copy & paste problem of a broken email client)
select *
from pg_class
where relkind IN ('r', 'v', 'S');
should work