diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-08-18 22:14:33 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-08-18 22:14:33 +0000 |
commit | 9848d3655d44aa2e58d28fe9f93a94b2934eedc8 (patch) | |
tree | 059111c2156111b083ea668b84bc8b3481676fca /doc/man/grant.l | |
parent | 1960a3b96573ad1ec73cd50255edde29cc80df88 (diff) | |
download | postgresql-9848d3655d44aa2e58d28fe9f93a94b2934eedc8.tar.gz postgresql-9848d3655d44aa2e58d28fe9f93a94b2934eedc8.zip |
Support Docs & Contrib
Diffstat (limited to 'doc/man/grant.l')
-rw-r--r-- | doc/man/grant.l | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/man/grant.l b/doc/man/grant.l new file mode 100644 index 00000000000..cebac49f031 --- /dev/null +++ b/doc/man/grant.l @@ -0,0 +1,33 @@ +.\" This is -*-nroff-*- +.\" XXX standard disclaimer belongs here.... +.\" $Header: /cvsroot/pgsql/doc/man/Attic/grant.l,v 1.1.1.1 1996/08/18 22:14:24 scrappy Exp $ +.TH GRANT SQL 11/05/95 Postgres95 Postgres95 +.SH NAME +grant \(em grant access control to a user or group +.SH SYNOPSIS +.nf +\fBgrant\fR <privilege[,privilege,...]> + \fBon\fR <rel1>[,...<reln>] + \fBto\fR [\fBpublic\fR | group <group> | <username>] + + \fBprivilege\fR is {\fBALL\fR | \fBSELECT\fR | \fBINSERT\fR | \fBUPDATE\fR | \fBDELETE\fR | \fBRULE\fR} +.fi +.SH DESCRIPTION +.PP +.B Grant +allows you to give specified permissions to all users or +a certain user or group. +By default, a table grants read-only (\fBSELECT\fR) to all Postgres users. +You must specifically revoke this privilege if this is not desired. +.SH EXAMPLES +.nf +-- +--Example of a grant +-- +grant insert + on mytab + to public +.fi +.SH "SEE ALSO" +revoke(l) + |