Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc19bd8c

Browse files
author
Thomas G. Lockhart
committed
Use "man drop" as an introduction to all drop commands.
Create explicit drop_table man page (copied from old drop man page).
1 parentfcc0320 commitc19bd8c

File tree

2 files changed

+59
-31
lines changed

2 files changed

+59
-31
lines changed

‎src/man/drop.l

Lines changed: 9 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,18 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/drop.l,v 1.3 1997/09/26 15:20:12 thomas Exp $
4-
.TH "DROPTABLE" SQL 09/26/97 PostgreSQL
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/drop.l,v 1.4 1997/09/27 04:36:01 thomas Exp $
4+
.TH "DROPATTRIBUTE" SQL 09/26/97 PostgreSQL
55
.SH NAME
6-
droptable\(em destroy existingclasses
6+
drop\(em destroy existingattributes
77
.SH SYNOPSIS
88
.nf
9-
\fBdroptable\fR classname-1 {\fB,\fR classname-i }
9+
\fBdrop{aggregate|database|function|index|operator
10+
|rule|sequence|table|trigger|type|view}\fR
1011
.fi
1112
.SH DESCRIPTION
12-
.BR"Drop Table"
13-
removes classes from the data base. Only its owner may destroy a
14-
class. A class may be emptied of instances, but not destroyed, by
15-
using
16-
.IR delete(l).
17-
.PP
18-
If a class being destroyed has secondary indices on it, then they will
19-
be removed first. The removal of just a secondary index will not
20-
affect the indexed class.
21-
.PP
22-
The destruction of classes is not reversable. Thus, a destroyed class
23-
will not be recovered if a transaction which destroys this class fails
24-
to commit. In addition, historical access to instances in a destroyed
25-
class is not possible.
26-
.SH EXAMPLE
27-
.nf
28-
--
29-
--Destroy the emp class
30-
--
31-
drop table emp
32-
.fi
33-
.nf
34-
--
35-
--Destroy the emp and parts classes
36-
--
37-
drop table emp, parts
38-
.fi
13+
.BR"drop attribute"
14+
removes an attribute from the database.
15+
Refer to a specific man page (e.g. "man drop_table") for details.
3916
.SH "SEE ALSO"
4017
delete(l),
4118
drop aggregate(l),
@@ -45,6 +22,7 @@ drop index(l),
4522
drop operator(l),
4623
drop rule(l),
4724
drop sequence(l),
25+
drop table(l),
4826
drop trigger(l),
4927
drop type(l),
5028
drop view(l).

‎src/man/drop_table.l

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
.\" This is -*-nroff-*-
2+
.\" XXX standard disclaimer belongs here....
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/drop_table.l,v 1.1 1997/09/27 04:36:02 thomas Exp $
4+
.TH "DROP TABLE" SQL 09/26/97 PostgreSQL
5+
.SH NAME
6+
drop table\(em destroy existing classes
7+
.SH SYNOPSIS
8+
.nf
9+
\fBdroptable\fR classname-1 {\fB,\fR classname-i }
10+
.fi
11+
.SH DESCRIPTION
12+
.BR"Drop Table"
13+
removes classes from the data base. Only its owner may destroy a
14+
class. A class may be emptied of instances, but not destroyed, by
15+
using
16+
.IR delete(l).
17+
.PP
18+
If a class being destroyed has secondary indices on it, then they will
19+
be removed first. The removal of just a secondary index will not
20+
affect the indexed class.
21+
.PP
22+
The destruction of classes is not reversible. Thus, a destroyed class
23+
will not be recovered if a transaction which destroys this class fails
24+
to commit. In addition, historical access to instances in a destroyed
25+
class is not possible.
26+
.SH EXAMPLE
27+
.nf
28+
--
29+
--Destroy the emp class
30+
--
31+
drop table emp
32+
.fi
33+
.nf
34+
--
35+
--Destroy the emp and parts classes
36+
--
37+
drop table emp, parts
38+
.fi
39+
.SH "SEE ALSO"
40+
delete(l),
41+
drop aggregate(l),
42+
drop database(l),
43+
drop function(l),
44+
drop index(l),
45+
drop operator(l),
46+
drop rule(l),
47+
drop sequence(l),
48+
drop trigger(l),
49+
drop type(l),
50+
drop view(l).

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp