▌►connecting to OS user in the same db

From: H S <aras_h1988(at)yahoo(dot)com>
To: admin <pgsql-admin(at)postgresql(dot)org>
Cc: "pesfandiar (at) gmail(dot)com" <pesfandiar(at)gmail(dot)com>
Subject: ▌►connecting to OS user in the same db
Date: 2011-04-07 03:12:16
Message-ID: 908096.9504.qm@web65905.mail.ac4.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Sirs,

I would like more than one OS user can access the same DB in the same cluster.

For a user like postgres I had these commands:

# adduser postgres
# mkdir /usr/local/pgsql/data
# chown postgres /usr/local/pgsql/data
# su -postgres
$ ./initdb -D /usr/*/data  --> here login as an postgres in terminal
$ ./postgres -D /usr/*/data --> here login as an postgres in terminal, too.

So when I want to access or issue the command :
/usr/local/pgsql/bin/psql postgres  as an another OS user,   what should I do?!

SARA

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message raghu ram 2011-04-07 06:10:52 Re: [ADMIN] ▌►connecting to OS user in the same db
Previous Message French, Martin 2011-04-06 22:44:07 Out Of Memory 8.1