Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Removing Users and Revoking Privileges


  • From: Carl McCalla <Carl(dot)Mccalla(at)noaa(dot)gov>
  • To: pgsql-general(at)postgresql(dot)org
  • Cc: Steve R Olson <Steve(dot)R(dot)Olson(at)noaa(dot)gov>
  • Subject: Removing Users and Revoking Privileges
  • Date: Fri, 29 Feb 2008 13:12:50 -0500
  • Message-id: <47C84B22.3010208@noaa.gov> <text/plain>

To All,

I am running Postgres version 7.4.19. One thing I wanted to do and have successfully completed is changing the ownership of a Postgres database and all of its tables to a new owner. I have also successfully granted access privileges to the new owner. What I have been unable to do successfully is to remove two users who should no longer have access to the database or its tables. As super user postgres, I have attempted to REVOKE access privileges for those two users, but to no avail. The REVOKE command appears to work and does not generate an error message, however, upon inspection the two users remain and continue to have all of the same access privileges they had before executing the REVOKE command.

I do not know what user originally created the database. I have though attempted to revoke privileges as not only user postgres, but also as the new owner of the data base, as well as both of the two users for which I wish to revoke access privileges.

The two users I want to remove or, at least revoke privileges for, are also associated with other databases, so I don't believe I can simply do a DROP USER. If I do that, I may wind up negatively impacting other Postgres databases.

Let me know, if you have any ideas.

Thanks

Attachment: Carl_McCalla.vcf
Description: Vcard



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group