summaryrefslogtreecommitdiff
path: root/src/man/delete.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/man/delete.l')
-rw-r--r--src/man/delete.l37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/man/delete.l b/src/man/delete.l
new file mode 100644
index 00000000000..fa3b254d4bd
--- /dev/null
+++ b/src/man/delete.l
@@ -0,0 +1,37 @@
+.\" This is -*-nroff-*-
+.\" XXX standard disclaimer belongs here....
+.\" $Header: /cvsroot/pgsql/src/man/Attic/delete.l,v 1.1 1996/11/14 10:16:29 scrappy Exp $
+.TH DELETE SQL 11/05/95 Postgres95 Postgres95
+.SH NAME
+delete \(em delete instances from a class
+.SH SYNOPSIS
+.nf
+\fBdelete\fR \fBfrom\fR class_name [ \fBwhere\fR qual ]
+.fi
+.SH DESCRIPTION
+.BR Delete
+removes instances which satisfy the qualification,
+.IR qual
+from the specified class.
+If the qualification is absent, the effect is to delete all instances
+in the class. The result is a valid, but empty class.
+.PP
+You must have write access to the class in order to modify it, as well
+as read access to any class whose values are read in the qualification
+(see
+.IR "change acl" (l).
+.SH EXAMPLE
+.nf
+--
+--Remove all employees who make over $30,000
+--
+delete from emp where emp.sal > 30000
+.fi
+.nf
+--
+--Clear the hobbies class
+--
+delete from hobbies
+.fi
+.SH "SEE ALSO"
+drop(l).