▌►connecting to OS user in the same db

Поиск
Список
Период
Сортировка
От H S
Тема ▌►connecting to OS user in the same db
Дата
Msg-id 908096.9504.qm@web65905.mail.ac4.yahoo.com
обсуждение исходный текст
Ответы Re: [ADMIN] ▌►connecting to OS user in the same db  (raghu ram <raghuchennuru@gmail.com>)
Список 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


В списке pgsql-admin по дате отправления:

Предыдущее
От: H S
Дата:
Сообщение: sepgsql
Следующее
От: raghu ram
Дата:
Сообщение: Re: [ADMIN] ▌►connecting to OS user in the same db