head	1.3;
access;
symbols
	SUPPORT:1.1.1.1
	PG95-DIST:1.1.1;
locks; strict;
comment	@ * @;


1.3
date	96.11.14.10.14.10;	author scrappy;	state dead;
branches;
next	1.2;

1.2
date	96.09.23.08.39.53;	author scrappy;	state Exp;
branches;
next	1.1;

1.1
date	96.08.18.22.14.23;	author scrappy;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.08.18.22.14.23;	author scrappy;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Removed man pages...moved to src/man

Requested by Bryan
@
text
@.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /usr/local/cvsroot/postgres95-support/doc/man/delete.l,v 1.2 1996/09/23 08:39:53 scrappy Exp scrappy $
.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).
@


1.2
log
@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:
@
text
@d3 1
a3 1
.\" $Header: /usr/local/cvsroot/postgres95-support/doc/man/delete.l,v 1.1.1.1 1996/08/18 22:14:23 scrappy Exp $
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
.\" $Header: /usr/local/cvsroot/postgres95/doc/man/delete.l,v 1.6 1996/07/31 18:42:50 scrappy Exp $
d9 1
a9 1
\fBdelete\fR instance_variable [ \fBfrom\fR from_list ] [ \fBwhere\fR qual ]
d14 2
a15 6
.IR qual ,
from the class specified by
.IR instance_variable .
.IR Instance_variable
is either a class name or a variable assigned by
.IR from_list .
@


1.1.1.1
log
@Support Docs & Contrib
@
text
@@
