Re: [ADMIN] Users + Groups = Roles, duplicate name issue

2005-12-27 Thread Jim C. Nasby
Bummer, it looks like there isn't any good solution for the case of identical user and group names. You might want to search through the archives to see if this scenario was discussed when roles were being designed, but it looks like your best bet is to rename either the user or the group before du

Re: [ADMIN] Users + Groups = Roles, duplicate name issue

2005-12-21 Thread ljb
[EMAIL PROTECTED] wrote: > Which version of pg_dump did you use to dump the old database? The > recommended procedure is to use the newer version of pg_dump (ie: > pg_dump from 8.1.1) to dump the old database. It's possible that the > newer version of pg_dump has facilities in place to deal with th

Re: [ADMIN] Users + Groups = Roles, duplicate name issue

2005-12-21 Thread Jim C. Nasby
Which version of pg_dump did you use to dump the old database? The recommended procedure is to use the newer version of pg_dump (ie: pg_dump from 8.1.1) to dump the old database. It's possible that the newer version of pg_dump has facilities in place to deal with this. Those facilities would obviou

[ADMIN] Users + Groups = Roles, duplicate name issue

2005-12-20 Thread ljb
I loaded a 7.4.x dump into a new 8.1.1 database and found out what happens if you had the same name as both a user and a group. You can get users with more rights than they had before. I guess it is too late, but perhaps a mention in the release text would have been a good idea. Advise people to r

Re: [ADMIN] users & groups

2000-06-19 Thread Rodney McDuff
[EMAIL PROTECTED] said: > I think we're pondering removing the secondary password file feature > sometime; The current system allows a particular user (in my case http) to connect to the database olny from the unix domain socket and no where else. What ever system is going to replace the secon

Re: [ADMIN] users & groups

2000-06-19 Thread R D
--- Peter Eisentraut <[EMAIL PROTECTED]> wrote: > On Mon, 19 Jun 2000, R D wrote: > > > Hi,I need a secondary passwd files because I do > not > > know another way to manage user access to DBs. > > That's what I thought. > > > If there was a pg_shadow in every DB replacing > external passwd fil

Re: [ADMIN] users & groups

2000-06-19 Thread Peter Eisentraut
On Mon, 19 Jun 2000, R D wrote: > Hi,I need a secondary passwd files because I do not > know another way to manage user access to DBs. That's what I thought. > If there was a pg_shadow in every DB replacing external passwd file, Hmm, that would be in semi-violation of SQL, since users are supp

Re: [ADMIN] users & groups

2000-06-19 Thread R D
--- Peter Eisentraut <[EMAIL PROTECTED]> wrote: > R D writes: > > > 1. If I'm using different password files for > each > > database can I grant or revoke privileges to this > > users without creating the same users in pg_user > > table? > > No, you always have to use CREATE USER. Btw., I > t

Re: [ADMIN] users & groups

2000-06-18 Thread Peter Eisentraut
R D writes: > 1. If I'm using different password files for each > database can I grant or revoke privileges to this > users without creating the same users in pg_user > table? No, you always have to use CREATE USER. Btw., I think we're pondering removing the secondary password file feature som

[ADMIN] users & groups

2000-06-16 Thread R D
Hi there, i have few questions in users and droups in pgSQL that i can't check in the next few days and this is inportant in my choice of database: 1. If I'm using different password files for each database can I grant or revoke privileges to this users without creating the same users in pg_user