Re: GRANT ALL PRIVILEGES ON DATABASE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Actually, I read the GRANT man page several times; what you state so clearly and simply, isn't described so plainly in that document.

I posted because I found the GRANT man page deficient.

Strictly speaking the GRANT man page indicated the following:

-----------------begin quote---------------------------
ALL PRIVILEGES

Grant all of the privileges applicable to the object at once. The PRIVILEGES key word is optional in PostgreSQL, though it is required by strict SQL.

-------------------end quote---------------------------

This followed a series of descriptions of various privileges (select, insert, update, etc.). From the context of the description, it appears that "GRANT ALL PRIVILEGES" bestows all of the preceding rights on the recipient user.

It is not at all intuitive that "GRANT ALL PRIVILEGES" gives a user the right to create schemas and temporary tables, and that alone.

Whether you meant it or not, your initial comment came across as patronizing.

Andrew Gold


Oliver Elphick wrote:

On Tue, 2005-08-16 at 16:07 -0700, Andrew Gold wrote:
Obviously, I can write a script to iterate through all the tables, but what exactly does "GRANT ALL PRIVILEGES ON DATABASE XXX" do if it doesn't even grant basic access?

See the man page for GRANT.

It gives the right to create schemas and temporary tables in the
database.




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux