"Mike Quinn" <mquinn@co.merced.ca.us> writes:
> Given that 'S' => Sequence and 's' => special shouldn't the last condition in the WHERE clause be:
> c.relkind = 'S'::"char"
Only if you suppose that pg_tables should show sequences, which was not
the intention. (I'm not real sure why 's' relations are listed, since
they're not really tables either, but the view is operating as
designed.)
I'm prepared to listen to an argument that pg_tables should show
sequences, but that's a definition change not a bug fix. Want to
bring it up on -general or -hackers?
regards, tom lane