On Wed, 30 Oct 2002, Paul Ottar Tornes wrote:
> I have a database named "maloy" and within that I have a table named "nyheter"
> I can do psql -l to look at all the databases and owners. But is there
> a way to look at the contents of the table "nyheter" in the database
> "maloy" ?
psql nyheter -c -- 'select * from maloy'
should do it.