471,090 Members | 1,371 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,090 software developers and data experts.

superuser equality


I'd like to have a DB client connect using a username ('psuedodba')
different from the creator/owner ('dba') of the DB and its tables, but
still have that username be able to do everything the creator/owner can do
(alter tables, drop databases, etc). It appears that

"createuser -d -a psuedodba"

works for this purpose. Are there circumstances where 'psuedodba' lacks
powers that 'dba' has to create/destroy/alter/update/insert/delete? Or are
they truly equivalent in powers?

TIA.

Ed
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 23 '05 #1
1 2069
Ed L. wrote:
"createuser -d -a psuedodba"

works for this purpose. Are there circumstances where 'psuedodba'
lacks powers that 'dba' has to
create/destroy/alter/update/insert/delete? Or are they truly
equivalent in powers?


You have created a superuser, who can do anything. This may be even
more than the "dba" user.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Rudy Metzger | last post: by
40 posts views Thread by Ike Naar | last post: by
4 posts views Thread by Matt Burland | last post: by
2 posts views Thread by zuhans | last post: by
1 post views Thread by marcelo Cortez | last post: by
10 posts views Thread by nd02tsk | last post: by
37 posts views Thread by spam.noam | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.