Re: Post Install / Secure PostgreSQL

From: Carlos Mennens <carlos(dot)mennens(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Post Install / Secure PostgreSQL
Date: 2010-09-15 17:36:26
Message-ID: AANLkTincnst9xrN5y__KkzCn4ybbgCR+xmSO5POuCFOK@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Sep 15, 2010 at 1:34 PM, John R Pierce <pierce(at)hogranch(dot)com> wrote:
> no, there is no such state in postgres.  you connect and log into a
> database.  connecting to a different database requires closing that
> connection and opening a new one (which is what the \c command does in
> psql).

Thanks but then I am confused why I am getting the following:

postgres=# \d
No relations found.
postgres=# \dt
No relations found.
postgres=# \c postgres
psql (8.4.4)
You are now connected to database "postgres".
postgres=# \dt
No relations found.
postgres=# \d

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2010-09-15 17:43:12 Re: Post Install / Secure PostgreSQL
Previous Message John R Pierce 2010-09-15 17:34:32 Re: Post Install / Secure PostgreSQL