Skip to content

Commit ba628ef

Browse files
committed
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: Bryan Henderson <bryanh@giraffe.netgate.net> Cc: Postgres95-development <pg95-dev@ki.net> Subject: Re: [PG95-DEV] DELETE statement > > Does the man page for DELETE need to be corrected? It gives as syntax > > DELETE instance_variable [FROM fromlist] [WHERE qual] . > > But the actual syntax appears to be > > DELETE FROM classname WHERE qual . > > -- > Bryan Henderson Phone 408-227-6803 > San Jose, California > This patch fixes the delete manual page in 2.0:
1 parent 9c6135f commit ba628ef

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

doc/man/delete.l

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/doc/man/Attic/delete.l,v 1.1.1.1 1996/08/18 22:14:23 scrappy Exp $
3+
.\" $Header: /cvsroot/pgsql/doc/man/Attic/delete.l,v 1.2 1996/09/23 08:39:53 scrappy Exp $
44
.TH DELETE SQL 11/05/95 Postgres95 Postgres95
55
.SH NAME
66
delete \(em delete instances from a class
77
.SH SYNOPSIS
88
.nf
9-
\fBdelete\fR instance_variable [ \fBfrom\fR from_list ] [ \fBwhere\fR qual ]
9+
\fBdelete\fR \fBfrom\fR class_name [ \fBwhere\fR qual ]
1010
.fi
1111
.SH DESCRIPTION
1212
.BR Delete
1313
removes instances which satisfy the qualification,
14-
.IR qual ,
15-
from the class specified by
16-
.IR instance_variable .
17-
.IR Instance_variable
18-
is either a class name or a variable assigned by
19-
.IR from_list .
14+
.IR qual
15+
from the specified class.
2016
If the qualification is absent, the effect is to delete all instances
2117
in the class. The result is a valid, but empty class.
2218
.PP

0 commit comments

Comments
 (0)