From: Stanimir Stanev <stancho@macropoint.com>
To: Remigiusz Sokolowski <rems@gdansk.sprint.pl>
Cc: pgsql-sql@hub.org <pgsql-sql@hub.org>
Subject: Re: [SQL] Has every postgreSQL database own users?
Date: Fri, 05 Feb 1999 12:22:25 +0200
Message-ID: <36BAC660.A8BD76FD@macropoint.com> (raw)
References: <Pine.GS4.4.02A.9902051055130.12691-100000@netra.gdansk.sprint.pl>
10x for reply
OK, but every database has pg_user table. Why this table is there?
Remigiusz Sokolowski wrote:
> > hi all
> >
> > Has every postgreSQL database own users?
> >
> > for example:
> >
> > If I have databases with name "db1" and "db2". I want to have user
> > "user1" for "db1" and user "user1" (same name, but with other password)
> > for "db2". Is this available?
> AFAIK this is not possible. Users of postgres are stored in table
> pg_shadow and this table is shared between all of databases. I'm not sure
> if this is also in case when You create another database system, but
> suppose that even in this case user must be unique.
> Rem
>
> -------------------------------------------------------------------*------------
> Remigiusz Sokolowski e-mail: rems@gdansk.sprint.pl * *
> -----------------------------------------------------------------*****----------
Attachments:vcard.vcf (text/x-vcard, 241B) download
begin: vcard
fn: Stanimir Stanev
n: Stanev;Stanimir
email;internet: stancho@macropoint.com
title: software developer
x-mozilla-cpt: ;0
x-mozilla-html: TRUE
version: 2.1
end: vcard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: stancho@macropoint.com, rems@gdansk.sprint.pl, pgsql-sql@hub.org
Subject: Re: [SQL] Has every postgreSQL database own users?
In-Reply-To: <36BAC660.A8BD76FD@macropoint.com>
References: <Pine.GS4.4.02A.9902051055130.12691-100000@netra.gdansk.sprint.pl> <36BAC660.A8BD76FD@macropoint.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox