mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
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:
This commit is contained in:
parent
9c6135fb15
commit
ba628ef13d
@ -1,22 +1,18 @@
|
|||||||
.\" This is -*-nroff-*-
|
.\" This is -*-nroff-*-
|
||||||
.\" XXX standard disclaimer belongs here....
|
.\" XXX standard disclaimer belongs here....
|
||||||
.\" $Header: /cvsroot/pgsql/doc/man/Attic/delete.l,v 1.1.1.1 1996/08/18 22:14:23 scrappy Exp $
|
.\" $Header: /cvsroot/pgsql/doc/man/Attic/delete.l,v 1.2 1996/09/23 08:39:53 scrappy Exp $
|
||||||
.TH DELETE SQL 11/05/95 Postgres95 Postgres95
|
.TH DELETE SQL 11/05/95 Postgres95 Postgres95
|
||||||
.SH NAME
|
.SH NAME
|
||||||
delete \(em delete instances from a class
|
delete \(em delete instances from a class
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
\fBdelete\fR instance_variable [ \fBfrom\fR from_list ] [ \fBwhere\fR qual ]
|
\fBdelete\fR \fBfrom\fR class_name [ \fBwhere\fR qual ]
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR Delete
|
.BR Delete
|
||||||
removes instances which satisfy the qualification,
|
removes instances which satisfy the qualification,
|
||||||
.IR qual ,
|
.IR qual
|
||||||
from the class specified by
|
from the specified class.
|
||||||
.IR instance_variable .
|
|
||||||
.IR Instance_variable
|
|
||||||
is either a class name or a variable assigned by
|
|
||||||
.IR from_list .
|
|
||||||
If the qualification is absent, the effect is to delete all instances
|
If the qualification is absent, the effect is to delete all instances
|
||||||
in the class. The result is a valid, but empty class.
|
in the class. The result is a valid, but empty class.
|
||||||
.PP
|
.PP
|
||||||
|
Loading…
Reference in New Issue
Block a user