Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9dde6b3

Browse files
committed
Add underscores in manual references.
1 parent cfef6ef commit 9dde6b3

32 files changed

+99
-107
lines changed

src/backend/storage/ipc/ipci.c

+2-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipci.c,v 1.9 1998/06/23 15:35:44 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipci.c,v 1.10 1998/06/23 17:52:28 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -92,7 +92,6 @@ CreateSharedMemoryAndSemaphores(IPCKey key)
9292
* ----------------
9393
*/
9494
InitLocks();
95-
InitMultiLevelLockm();
9695
if (InitMultiLevelLockm() == INVALID_TABLEID)
9796
elog(FATAL, "Couldn't create the lock table");
9897

@@ -146,7 +145,7 @@ AttachSharedMemoryAndSemaphores(IPCKey key)
146145
* ----------------
147146
*/
148147
InitLocks();
149-
if (InitMultiLevelLockm() == INVALID_TABLEID)
148+
if (!MultiTableId && InitMultiLevelLockm() == INVALID_TABLEID)
150149
elog(FATAL, "Couldn't attach to the lock table");
151150

152151
AttachSharedInvalidationState(key);

src/backend/storage/lmgr/multi.c

+1-8
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/multi.c,v 1.12 1998/06/15 19:29:21 momjian Exp $
15+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/multi.c,v 1.13 1998/06/23 17:52:28 momjian Exp $
1616
*
1717
* NOTES:
1818
* (1) The lock.c module assumes that the caller here is doing
@@ -89,13 +89,6 @@ InitMultiLevelLockm()
8989
{
9090
int tableId;
9191

92-
/* -----------------------
93-
* If we're already initialized just return the table id.
94-
* -----------------------
95-
*/
96-
if (MultiTableId)
97-
return MultiTableId;
98-
9992
tableId = LockTabInit("LockTable", MultiConflicts, MultiPrios, 5);
10093
MultiTableId = tableId;
10194
if (!(MultiTableId))

src/man/alter_table.l

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/alter_table.l,v 1.5 1998/03/31 04:44:19 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/alter_table.l,v 1.6 1998/06/23 17:52:29 momjian Exp $
44
.TH "ALTER TABLE" SQL 09/25/97 PostgreSQL
55
.SH NAME
66
alter table - add attributes to a class, or rename an attribute or class
@@ -30,7 +30,7 @@ after this command is executed.
3030
.PP
3131
The new attributes and their types are specified
3232
in the same style and with the the same restrictions as in
33-
.IR "create table" (l).
33+
.IR "create_table" (l).
3434
.PP
3535
In order to add an attribute to each class in an entire inheritance
3636
hierarchy, use the
@@ -99,6 +99,6 @@ alter table emp rename column sports to hobbies
9999
alter table person * rename column last_name to family_name
100100
.fi
101101
.SH "SEE ALSO"
102-
create table (l),
102+
create_table (l),
103103
update (l).
104104

src/man/copy.l

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/copy.l,v 1.4 1998/01/11 22:17:11 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/copy.l,v 1.5 1998/06/23 17:52:30 momjian Exp $
44
.TH COPY SQL 11/05/95 PostgreSQL PostgreSQL
55
.SH NAME
66
copy - copy data to or from a class from or to a Unix file.
@@ -139,7 +139,7 @@ Note that variable length attributes are preceded by the attribute's
139139
length; arrays are simply contiguous streams of the array element
140140
type.
141141
.SH "SEE ALSO"
142-
insert(l), create table(l), vacuum(l), libpq.
142+
insert(l), create_table(l), vacuum(l), libpq.
143143
.SH BUGS
144144
Files used as arguments to the
145145
.BR copy

src/man/create_aggregate.l

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_aggregate.l,v 1.5 1998/01/11 22:17:11 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_aggregate.l,v 1.6 1998/06/23 17:52:31 momjian Exp $
44
.TH "CREATE AGGREGATE" SQL 11/05/95 PostgreSQL PostgreSQL
55
.SH NAME
66
create aggregate - define a new aggregate
@@ -90,5 +90,5 @@ create aggregate avg (sfunc1 = int4add, basetype = int4,
9090
finalfunc = int4div, initcond1 = "0", initcond2 = "0")
9191
.fi
9292
.SH "SEE ALSO"
93-
create function(l),
94-
remove aggregate(l).
93+
create_function(l),
94+
drop_aggregate(l).

src/man/create_database.l

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_database.l,v 1.5 1998/01/11 22:17:13 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_database.l,v 1.6 1998/06/23 17:52:31 momjian Exp $
44
.TH "CREATE DATABASE" SQL 11/05/95 PostgreSQL PostgreSQL
55
.SH NAME
66
create database - create a new database
@@ -19,7 +19,7 @@ location must be pre-configured by
1919

2020
.SH "SEE ALSO"
2121
createdb(1),
22-
drop database(l),
22+
drop_database(l),
2323
destroydb(1),
2424
initarea(1),
2525
initdb(1).

src/man/create_function.l

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_function.l,v 1.8 1998/04/26 04:09:37 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_function.l,v 1.9 1998/06/23 17:52:31 momjian Exp $
44
.TH "CREATE FUNCTION" SQL 11/05/95 PostgreSQL PostgreSQL
55
.SH "NAME"
66
create function - define a new function
@@ -34,7 +34,7 @@ or
3434
(The
3535
.IR "plname"
3636
is the language name of a created procedural language. See
37-
create language(l) for details.)
37+
create_language(l) for details.)
3838
(The
3939
.IR "arg is"
4040
clause may be left out if the function has no arguments, or
@@ -389,7 +389,7 @@ select function hobbies (EMP) returns set of HOBBIES
389389
language 'sql'
390390
.SH "SEE ALSO"
391391
.PP
392-
information(1), load(l), drop function(l), create language(l).
392+
information(1), load(l), drop_function(l), create_language(l).
393393
.SH "NOTES"
394394
.SH "Name Space Conflicts"
395395
More than one function may be defined with the same name, as long as

src/man/create_language.l

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_language.l,v 1.2 1998/01/11 22:17:14 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_language.l,v 1.3 1998/06/23 17:52:31 momjian Exp $
44
.TH "CREATE LANGUAGE" SQL 11/05/95 PostgreSQL PostgreSQL
55
.SH "NAME"
66
create language - define a new language for functions
@@ -19,7 +19,7 @@ privilege to register a new language.
1919
The lanname is the name of the new procedural language. It is converted
2020
to lower case before the new entry in the pg_language system catalog
2121
is inserted. Note that this case translation is also done on
22-
create function(l) and drop language(l). Thus, the language name
22+
create_function(l) and drop_language(l). Thus, the language name
2323
is case insensitive. A procedural language cannot override one of the
2424
builtin languages of Postgres.
2525
.PP
@@ -60,7 +60,7 @@ It's up to the call handler to fetch the pg_proc entry
6060
and to analyze the argument and return types of the called procedure.
6161
the
6262
.IR "as"
63-
clause from the create function(l) of the procedure will be found in
63+
clause from the create_function(l) of the procedure will be found in
6464
the prosrc attribute of the pg_proc entry. This may be the source text
6565
in the procedural language itself (like for PL/Tcl), a pathname to a
6666
file or anything else that tells the call handler what to do in detail.
@@ -109,7 +109,7 @@ plsample_call_handler(
109109

110110
.fi
111111
Only a few thousand lines of code have to be added instead of the dots
112-
to complete the PL call handler. See create function(l) how to compile
112+
to complete the PL call handler. See create_function(l) how to compile
113113
it into a loadable module. The following commands then register the
114114
sample procedural language.
115115
.nf
@@ -125,7 +125,7 @@ create procedural language 'plsample'
125125
.fi
126126
.SH "SEE ALSO"
127127
.PP
128-
create function(l), drop language(l).
128+
create_function(l), drop_language(l).
129129
.SH "RESTRICTIONS"
130130
Since the call handler for a procedural language must be
131131
registered with Postgres in the 'C' language, it inherits

src/man/create_operator.l

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_operator.l,v 1.4 1998/01/11 22:17:15 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_operator.l,v 1.5 1998/06/23 17:52:32 momjian Exp $
44
.TH "CREATE OPERATOR" SQL 11/05/95 PostgreSQL PostgreSQL
55
.SH NAME
66
create operator - define a new user operator
@@ -66,7 +66,7 @@ The name of the operator,
6666
can be composed of symbols only. Also, the
6767
.IR func_name
6868
procedure must have been previously defined using
69-
.IR "create function" (l)
69+
.IR "create_function" (l)
7070
and must have one or two arguments.
7171
.PP
7272
.\" that multiple instances of the
@@ -242,8 +242,8 @@ create operator === (
242242
.\" arg is (box, box)
243243
.fi
244244
.SH "SEE ALSO"
245-
create function(l),
246-
drop operator(l).
245+
create_function(l),
246+
drop_operator(l).
247247
.SH BUGS
248248
Operator names cannot be composed of alphabetic characters in
249249
Postgres.

src/man/create_rule.l

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_rule.l,v 1.7 1998/04/26 04:09:42 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_rule.l,v 1.8 1998/06/23 17:52:32 momjian Exp $
44
.TH "CREATE RULE" SQL 11/05/95 PostgreSQL PostgreSQL
55
.SH NAME
66
create rule - define a new rule
@@ -199,8 +199,8 @@ create rule example_5 is
199199
do update newset salary = 5000
200200
.fi
201201
.SH "SEE ALSO"
202-
drop rule(l),
203-
create view(l).
202+
drop_rule(l),
203+
create_view(l).
204204
.SH BUGS
205205
.PP
206206
.BR "instead"

src/man/create_sequence.l

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_sequence.l,v 1.3 1998/01/11 22:17:17 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_sequence.l,v 1.4 1998/06/23 17:52:32 momjian Exp $
44
.TH "CREATE SEQUENCE" SQL 04/01/97 PostgreSQL PostgreSQL
55
.SH NAME
66
create sequence - create a new sequence number generator
@@ -109,4 +109,4 @@ select nextval ('seq');
109109
insert into table _table_ values (nextval ('seq'),...);
110110
.fi
111111
.SH "SEE ALSO"
112-
drop sequence(l).
112+
drop_sequence(l).

src/man/create_table.l

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_table.l,v 1.18 1998/04/27 03:41:33 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_table.l,v 1.19 1998/06/23 17:52:32 momjian Exp $
44
.TH "CREATE TABLE" SQL 09/25/97 PostgreSQL
55
.SH NAME
66
create table - create a new class
@@ -146,4 +146,4 @@ create table component
146146
The \fBforeign key\fP and \fBreferences\fP keywords are parsed but not yet
147147
implemented in PostgreSQL 6.3.1.
148148
.SH "SEE ALSO"
149-
drop table(l).
149+
drop_table(l).

src/man/create_trigger.l

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_trigger.l,v 1.3 1998/01/11 22:17:20 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_trigger.l,v 1.4 1998/06/23 17:52:33 momjian Exp $
44
.TH "CREATE TRIGGER" SQL 09/25/97 PostgreSQL
55
.SH NAME
66
create trigger - create a new trigger
@@ -47,4 +47,4 @@ Refer to the SPI and trigger programming guides for more information.
4747
.SH EXAMPLES
4848
Examples are included in the contrib area of the source distribution.
4949
.SH "SEE ALSO"
50-
drop trigger(l).
50+
drop_trigger(l).

src/man/create_type.l

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_type.l,v 1.4 1998/01/11 22:17:21 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_type.l,v 1.5 1998/06/23 17:52:33 momjian Exp $
44
.TH "CREATE TYPE" SQL 11/05/95 PostgreSQL PostgreSQL
55
.SH NAME
66
create type - define a new base data type
@@ -28,7 +28,7 @@ defined for this database.
2828
.PP
2929
.BR "Create type"
3030
requires the registration of two functions (using
31-
.IR "create function" (l))
31+
.IR "create_function" (l))
3232
before defining the type. The representation of a new base type is
3333
determined by
3434
.IR input_function ,
@@ -155,7 +155,7 @@ and can only be 15 characters long. This is because Postgres silently
155155
creates an array type for each base type with a name consisting of the
156156
base type's name prepended with an underscore.
157157
.SH "SEE ALSO"
158-
create function(l),
159-
create operator(l),
160-
drop type(l),
158+
create_function(l),
159+
create_operator(l),
160+
drop_type(l),
161161
large_objects(3).

src/man/create_version.l

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_version.l,v 1.3 1998/01/11 22:17:21 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_version.l,v 1.4 1998/06/23 17:52:34 momjian Exp $
44
.TH "CREATE VERSION" SQL 01/23/93 PostgreSQL PostgreSQL
55
.SH NAME
66
create version - construct a version class
@@ -62,7 +62,7 @@ in [ONG90].
6262
create version foobar from barfoo [ "Jan 17 1990" ]
6363
.fi
6464
.SH "SEE ALSO"
65-
create view(l), merge(l).
65+
create_view(l), merge(l).
6666
.SH "BUGS"
6767
Snapshots (i.e., the optional
6868
.IR abstime

src/man/create_view.l

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_view.l,v 1.3 1998/01/11 22:17:22 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_view.l,v 1.4 1998/06/23 17:52:34 momjian Exp $
44
.TH "CREATE VIEW" SQL 11/05/95 PostgreSQL PostgreSQL
55
.SH NAME
66
create view - construct a virtual class
@@ -41,5 +41,5 @@ create rule example1 as
4141
where emp.oid = current.oid
4242
.fi
4343
.SH "SEE ALSO"
44-
create table(l),
45-
create rule(l),
44+
create_table(l),
45+
create_rule(l),

src/man/drop.l

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/drop.l,v 1.5 1998/01/11 22:17:26 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/drop.l,v 1.6 1998/06/23 17:52:34 momjian Exp $
44
.TH "DROP ATTRIBUTE" SQL 09/26/97 PostgreSQL
55
.SH NAME
66
drop - destroy existing attributes
@@ -15,14 +15,14 @@ removes an attribute from the database.
1515
Refer to a specific man page (e.g. "man drop_table") for details.
1616
.SH "SEE ALSO"
1717
delete(l),
18-
drop aggregate(l),
19-
drop database(l),
20-
drop function(l),
21-
drop index(l),
22-
drop operator(l),
23-
drop rule(l),
24-
drop sequence(l),
25-
drop table(l),
26-
drop trigger(l),
27-
drop type(l),
28-
drop view(l).
18+
drop_aggregate(l),
19+
drop_database(l),
20+
drop_function(l),
21+
drop_index(l),
22+
drop_operator(l),
23+
drop_rule(l),
24+
drop_sequence(l),
25+
drop_table(l),
26+
drop_trigger(l),
27+
drop_type(l),
28+
drop_view(l).

src/man/drop_aggregate.l

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/drop_aggregate.l,v 1.4 1998/01/11 22:17:27 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/drop_aggregate.l,v 1.5 1998/06/23 17:52:35 momjian Exp $
44
.TH "DROP AGGREGATE" SQL 11/05/95 PostgreSQL PostgreSQL
55
.SH NAME
66
drop aggregate - remove the definition of an aggregate
@@ -21,4 +21,4 @@ aggregate.
2121
drop aggregate avg int4
2222
.fi
2323
.SH "SEE ALSO"
24-
create aggregate(l).
24+
create_aggregate(l).

0 commit comments

Comments
 (0)