Add GRANT ON SEQUENCE syntax to support sequence-only permissions.

Bruce Momjian <bruce@momjian.us>

Commit: 4789e9880148660c7126aef4fbaf5563be6ff167
Author: Bruce Momjian <bruce@momjian.us>
Date: 2006-01-21T02:16:21Z
Releases: 8.2.0
Add GRANT ON SEQUENCE syntax to support sequence-only permissions.
Continue to support GRANT ON [TABLE] for sequences for backward
compatibility;  issue warning for invalid sequence permissions.

[Backward compatibility warning message.]

Add USAGE permission for sequences that allows only currval() and
nextval(), not setval().

Mention object name in grant/revoke warnings because of possible
multi-object operations.

Files