Re: - Mailing list pgsql-general

From Scott Marlowe
Subject Re:
Date
Msg-id CAOR=d=0jDvOpQp2bP=1vN+d=wv8j8tR9Ftb1oXFtQ3SR0CbEtQ@mail.gmail.com
Whole thread Raw
In response to  ("daflmx" <daflmx@qq.com>)
List pgsql-general
On Sun, Oct 30, 2011 at 7:45 PM, daflmx <daflmx@qq.com> wrote:
> Hi,friends.
> How can I use the postgreSQL database after I have installed the
> postgresql-8.4_8.4.8-0squeeze2_i386.deb?I don't konw which directory it has
> been released to.

Make sure you've got a postgresql-8.4-client or something like that.
sudo su - postgres
psql

and you're in.

If you want to be able to access it as you, then after psql do:

create user yournamehere;
create database yournamehere with owner yournamehere;
\q

then exit the postgres shell.  Now psql for you as joe user should work.

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re:
Next
From: "daflmx"
Date:
Subject: