1
|
<?php
|
2
|
|
3
|
/**
|
4
|
* Help links for PostgreSQL 7.0 documentation
|
5
|
*
|
6
|
* $Id: PostgresDoc70.php,v 1.4 2005/02/16 10:27:44 jollytoad Exp $
|
7
|
*/
|
8
|
|
9
|
$this->help_base = sprintf($GLOBALS['conf']['help_base'], '7');
|
10
|
|
11
|
# TODO: Check and fix links for >= 7.0 and <= 7.3 (those in the following array)
|
12
|
|
13
|
$this->help_page = array(
|
14
|
'pg.cast' => array('sql-expressions.html#SQL-SYNTAX-TYPE-CASTS','sql-createcast.html'),
|
15
|
'pg.cast.create' => 'sql-createcast.html',
|
16
|
'pg.cast.drop' => 'sql-dropcast.html',
|
17
|
|
18
|
'pg.column.add' => array('ddl-alter.html#AEN2115', 'sql-altertable.html'),
|
19
|
'pg.column.alter' => array('ddl-alter.html','sql-altertable.html'),
|
20
|
'pg.column.drop' => array('ddl-alter.html#AEN2124', 'sql-altertable.html'),
|
21
|
|
22
|
'pg.constraint' => 'ddl-constraints.html',
|
23
|
'pg.constraint.add' => 'ddl-alter.html#AEN2131',
|
24
|
'pg.constraint.check' => 'ddl-constraints.html#AEN1895',
|
25
|
'pg.constraint.drop' => 'ddl-alter.html#AEN2140',
|
26
|
'pg.constraint.foreign_key' => 'ddl-constraints.html#DDL-CONSTRAINTS-FK',
|
27
|
'pg.constraint.primary_key' => 'ddl-constraints.html#AEN1972',
|
28
|
'pg.constraint.unique_key' => 'ddl-constraints.html#AEN1950',
|
29
|
|
30
|
'pg.conversion' => 'multibyte.html',
|
31
|
'pg.conversion.alter' => 'sql-alterconversion.html',
|
32
|
'pg.conversion.create' => 'sql-createconversion.html',
|
33
|
'pg.conversion.drop' => 'sql-dropconversion.html',
|
34
|
|
35
|
'pg.domain' => 'extend-type-system.html#AEN28657',
|
36
|
'pg.domain.alter' => 'sql-alterdomain.html',
|
37
|
'pg.domain.create' => 'sql-createdomain.html',
|
38
|
'pg.domain.drop' => 'sql-dropdomain.html',
|
39
|
|
40
|
'pg.function' => array('xfunc.html', 'functions.html', 'sql-expressions.html#AEN1599'),
|
41
|
'pg.function.alter' => 'sql-alterfunction.html',
|
42
|
'pg.function.create' => 'sql-createfunction.html',
|
43
|
'pg.function.create.c' => array('xfunc-c.html','sql-createfunction.html'),
|
44
|
'pg.function.create.internal' => array('xfunc-internal.html','sql-createfunction.html'),
|
45
|
'pg.function.create.pl' => array('xfunc-sql.html','xfunc-pl.html','sql-createfunction.html'),
|
46
|
'pg.function.drop' => 'sql-dropfunction.html',
|
47
|
|
48
|
'pg.group' => 'groups.html',
|
49
|
'pg.group.alter' => array('sql-altergroup.html','groups.html'),
|
50
|
'pg.group.create' => 'sql-creategroup.html',
|
51
|
'pg.group.drop' => 'sql-dropgroup.html',
|
52
|
|
53
|
'pg.index' => 'indexes.html',
|
54
|
'pg.index.cluster' => 'sql-cluster.html',
|
55
|
'pg.index.drop' => 'sql-dropindex.html',
|
56
|
'pg.index.create' => 'sql-createindex.html',
|
57
|
'pg.index.reindex' => 'sql-reindex.html',
|
58
|
|
59
|
'pg.language' => 'xplang.html',
|
60
|
'pg.language.alter' => 'sql-alterlanguage.html',
|
61
|
'pg.language.create' => 'sql-createlanguage.html',
|
62
|
'pg.language.drop' => 'sql-droplanguage.html',
|
63
|
|
64
|
'pg.opclass' => 'indexes-opclass.html',
|
65
|
'pg.opclass.alter' => 'sql-alteropclass.html',
|
66
|
'pg.opclass.create' => 'sql-createopclass.html',
|
67
|
'pg.opclass.drop' => 'sql-dropopclass.html',
|
68
|
|
69
|
'pg.operator' => array('xoper.html', 'functions.html', 'sql-expressions.html#AEN1570'),
|
70
|
'pg.operator.alter' => 'sql-alteroperator.html',
|
71
|
'pg.operator.create' => 'sql-createoperator.html',
|
72
|
'pg.operator.drop' => 'sql-dropoperator.html',
|
73
|
|
74
|
'pg.pl' => 'xplang.html',
|
75
|
'pg.pl.plperl' => 'plperl.html',
|
76
|
'pg.pl.plpgsql' => 'plpgsql.html',
|
77
|
'pg.pl.plpython' => 'plpython.html',
|
78
|
'pg.pl.pltcl' => 'pltcl.html',
|
79
|
|
80
|
'pg.privilege' => array('privileges.html','ddl-priv.html'),
|
81
|
'pg.privilege.grant' => 'sql-grant.html',
|
82
|
'pg.privilege.revoke' => 'sql-revoke.html',
|
83
|
|
84
|
'pg.process' => 'monitoring.html',
|
85
|
|
86
|
'pg.rule' => 'rules.html',
|
87
|
'pg.rule.create' => 'sql-createrule.html',
|
88
|
'pg.rule.drop' => 'sql-droprule.html',
|
89
|
|
90
|
'pg.schema' => 'ddl-schemas.html',
|
91
|
'pg.schema.alter' => 'sql-alterschema.html',
|
92
|
'pg.schema.create' => array( 'sql-createschema.html','ddl-schemas.html#DDL-SCHEMAS-CREATE'),
|
93
|
'pg.schema.drop' => 'sql-dropschema.html',
|
94
|
'pg.schema.search_path' => 'ddl-schemas.html#DDL-SCHEMAS-PATH',
|
95
|
|
96
|
'pg.sequence' => 'functions-sequence.html',
|
97
|
'pg.sequence.alter' => 'sql-altersequence.html',
|
98
|
'pg.sequence.create' => 'sql-createsequence.html',
|
99
|
'pg.sequence.drop' => 'sql-dropsequence.html',
|
100
|
|
101
|
'pg.sql' => array('sql.html','sql-commands.html'),
|
102
|
'pg.sql.insert' => 'sql-insert.html',
|
103
|
'pg.sql.select' => 'sql-select.html',
|
104
|
'pg.sql.update' => 'sql-update.html',
|
105
|
|
106
|
'pg.table' => 'ddl.html#DDL-BASICS',
|
107
|
'pg.table.alter' => 'sql-altertable.html',
|
108
|
'pg.table.create' => 'sql-createtable.html',
|
109
|
'pg.table.drop' => 'sql-droptable.html',
|
110
|
'pg.table.empty' => 'sql-truncate.html',
|
111
|
|
112
|
'pg.tablespace' => 'manage-ag-tablespaces.html',
|
113
|
'pg.tablespace.alter' => 'sql-altertablespace.html',
|
114
|
'pg.tablespace.create' => 'sql-createtablespace.html',
|
115
|
'pg.tablespace.drop' => 'sql-droptablespace.html',
|
116
|
|
117
|
'pg.trigger' => 'triggers.html',
|
118
|
'pg.trigger.alter' => 'sql-altertrigger.html',
|
119
|
'pg.trigger.create' => 'sql-createtrigger.html',
|
120
|
'pg.trigger.drop' => 'sql-droptrigger.html',
|
121
|
|
122
|
'pg.type' => array('xtypes.html','datatype.html','extend-type-system.html'),
|
123
|
'pg.type.alter' => 'sql-altertype.html',
|
124
|
'pg.type.create' => 'sql-createtype.html',
|
125
|
'pg.type.drop' => 'sql-droptype.html',
|
126
|
|
127
|
'pg.user.alter' => array('sql-alteruser.html','user-attributes.html'),
|
128
|
'pg.user.create' => array('sql-createuser.html','user-manag.html#DATABASE-USERS'),
|
129
|
'pg.user.drop' => array('sql-dropuser.html','user-manag.html#DATABASE-USERS'),
|
130
|
|
131
|
'pg.variable' => 'runtime-config.html',
|
132
|
|
133
|
'pg.view' => 'tutorial-views.html',
|
134
|
'pg.view.alter' => 'sql-createview.html',
|
135
|
'pg.view.create' => 'sql-createview.html',
|
136
|
'pg.view.drop' => 'sql-dropview.html',
|
137
|
);
|
138
|
|
139
|
# correct links follow:
|
140
|
|
141
|
$this->help_page['pg.admin.analyze'] = 'sql-vacuum.htm';
|
142
|
$this->help_page['pg.admin.vacuum'] = 'sql-vacuum.htm';
|
143
|
|
144
|
$this->help_page['pg.aggregate'] = array('xaggr.htm', 'query27856.htm', 'syntax658.htm');
|
145
|
$this->help_page['pg.aggregate.create'] = 'sql-createaggregate.htm';
|
146
|
$this->help_page['pg.aggregate.drop'] = 'sql-dropaggregate.htm';
|
147
|
|
148
|
$this->help_page['pg.database'] = 'manage-ag.htm';
|
149
|
$this->help_page['pg.database.create'] = array('sql-createdatabase.htm', 'manage-ag.htm#AEN17907');
|
150
|
$this->help_page['pg.database.drop'] = array('sql-dropdatabase.htm', 'manage-ag17956.htm');
|
151
|
|
152
|
$this->help_page['pg.server'] = 'part-admin.htm';
|
153
|
|
154
|
$this->help_page['pg.user'] = 'newuser.htm';
|
155
|
|
156
|
?>
|