Re: Looking at a table

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Paul Ottar Tornes <critical(at)tiscali(dot)no>
Cc: psql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Looking at a table
Date: 2002-10-30 22:17:10
Message-ID: Pine.LNX.4.33.0210301516330.3581-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vincent Janelle 2002-10-30 23:00:28 Re: DAFS?
Previous Message scott.marlowe 2002-10-30 22:15:01 Re: DAFS?