On Tue, Aug 30, 2011 at 11:30 PM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> wrote:
>> But I need to specify a particular database & then fetch tables in that.
>
> Try this, start psql with the -E switch, then run \d and copy and edit
> the query(s) that gives you.
P.s. I think you have to connect to the database you want to pull info
from / about.