Skip to content

Commit 571df93

Browse files
committed
More clearly document that most PostgreSQL utilities support libpq
environment variables. Backpatch to 8.2.X.
1 parent ecba519 commit 571df93

16 files changed

+128
-38
lines changed

doc/src/sgml/ref/clusterdb.sgml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/clusterdb.sgml,v 1.18 2006/09/16 00:30:17 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/clusterdb.sgml,v 1.19 2007/02/20 18:10:58 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -190,6 +190,13 @@ PostgreSQL documentation
190190
</listitem>
191191
</varlistentry>
192192
</variablelist>
193+
194+
<para>
195+
This utility, like most other <productname>PostgreSQL</> utilities,
196+
also uses the environment variables supported by <xref
197+
linkend="libpq-envars" endterm="libpq">.
198+
</para>
199+
193200
</refsect1>
194201

195202

@@ -235,7 +242,6 @@ PostgreSQL documentation
235242

236243
<simplelist type="inline">
237244
<member><xref linkend="sql-cluster" endterm="sql-cluster-title"></member>
238-
<member>Environment Variables (<xref linkend="libpq-envars">)</member>
239245
</simplelist>
240246
</refsect1>
241247

doc/src/sgml/ref/createdb.sgml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/createdb.sgml,v 1.42 2006/09/16 00:30:18 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/createdb.sgml,v 1.43 2007/02/20 18:10:58 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -241,6 +241,13 @@ PostgreSQL documentation
241241
</listitem>
242242
</varlistentry>
243243
</variablelist>
244+
245+
<para>
246+
This utility, like most other <productname>PostgreSQL</> utilities,
247+
also uses the environment variables supported by <xref
248+
linkend="libpq-envars" endterm="libpq">.
249+
</para>
250+
244251
</refsect1>
245252

246253

@@ -294,7 +301,6 @@ PostgreSQL documentation
294301
<simplelist type="inline">
295302
<member><xref linkend="app-dropdb"></member>
296303
<member><xref linkend="sql-createdatabase" endterm="sql-createdatabase-title"></member>
297-
<member>Environment Variables (<xref linkend="libpq-envars">)</member>
298304
</simplelist>
299305
</refsect1>
300306

doc/src/sgml/ref/createlang.sgml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/createlang.sgml,v 1.38 2006/09/16 00:30:18 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/createlang.sgml,v 1.39 2007/02/20 18:10:58 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -171,6 +171,13 @@ PostgreSQL documentation
171171
</listitem>
172172
</varlistentry>
173173
</variablelist>
174+
175+
<para>
176+
This utility, like most other <productname>PostgreSQL</> utilities,
177+
also uses the environment variables supported by <xref
178+
linkend="libpq-envars" endterm="libpq">.
179+
</para>
180+
174181
</refsect1>
175182

176183

@@ -181,7 +188,9 @@ PostgreSQL documentation
181188
Most error messages are self-explanatory. If not, run
182189
<application>createlang</application> with the <option>--echo</option>
183190
option and see under the respective <acronym>SQL</acronym> command
184-
for details.
191+
for details. Also, any default connection settings and environment
192+
variables used by the <application>libpq</application> front-end
193+
library will apply.
185194
</para>
186195
</refsect1>
187196

@@ -216,7 +225,6 @@ PostgreSQL documentation
216225
<simplelist type="inline">
217226
<member><xref linkend="app-droplang"></member>
218227
<member><xref linkend="sql-createlanguage" endterm="sql-createlanguage-title"></member>
219-
<member>Environment Variables (<xref linkend="libpq-envars">)</member>
220228
</simplelist>
221229
</refsect1>
222230

doc/src/sgml/ref/createuser.sgml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/createuser.sgml,v 1.45 2006/09/16 00:30:18 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/createuser.sgml,v 1.46 2007/02/20 18:10:58 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -331,6 +331,13 @@ PostgreSQL documentation
331331
</listitem>
332332
</varlistentry>
333333
</variablelist>
334+
335+
<para>
336+
This utility, like most other <productname>PostgreSQL</> utilities,
337+
also uses the environment variables supported by <xref
338+
linkend="libpq-envars" endterm="libpq">.
339+
</para>
340+
334341
</refsect1>
335342

336343

@@ -401,7 +408,6 @@ PostgreSQL documentation
401408
<simplelist type="inline">
402409
<member><xref linkend="app-dropuser"></member>
403410
<member><xref linkend="sql-createrole" endterm="sql-createrole-title"></member>
404-
<member>Environment Variables (<xref linkend="libpq-envars">)</member>
405411
</simplelist>
406412
</refsect1>
407413

doc/src/sgml/ref/dropdb.sgml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/dropdb.sgml,v 1.28 2006/09/16 00:30:18 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/dropdb.sgml,v 1.29 2007/02/20 18:10:58 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -168,6 +168,13 @@ PostgreSQL documentation
168168
</listitem>
169169
</varlistentry>
170170
</variablelist>
171+
172+
<para>
173+
This utility, like most other <productname>PostgreSQL</> utilities,
174+
also uses the environment variables supported by <xref
175+
linkend="libpq-envars" endterm="libpq">.
176+
</para>
177+
171178
</refsect1>
172179

173180

@@ -220,7 +227,6 @@ DROP DATABASE</computeroutput>
220227
<simplelist type="inline">
221228
<member><xref linkend="app-createdb"></member>
222229
<member><xref linkend="sql-dropdatabase" endterm="sql-dropdatabase-title"></member>
223-
<member>Environment Variables (<xref linkend="libpq-envars">)</member>
224230
</simplelist>
225231
</refsect1>
226232

doc/src/sgml/ref/droplang.sgml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/droplang.sgml,v 1.27 2006/09/16 00:30:18 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/droplang.sgml,v 1.28 2007/02/20 18:10:58 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -179,6 +179,13 @@ PostgreSQL documentation
179179
</listitem>
180180
</varlistentry>
181181
</variablelist>
182+
183+
<para>
184+
This utility, like most other <productname>PostgreSQL</> utilities,
185+
also uses the environment variables supported by <xref
186+
linkend="libpq-envars" endterm="libpq">.
187+
</para>
188+
182189
</refsect1>
183190

184191

@@ -189,7 +196,9 @@ PostgreSQL documentation
189196
Most error messages are self-explanatory. If not, run
190197
<application>droplang</application> with the <option>--echo</option>
191198
option and see under the respective <acronym>SQL</acronym> command
192-
for details.
199+
for details. Also, any default connection settings and environment
200+
variables used by the <application>libpq</application> front-end
201+
library will apply.
193202
</para>
194203
</refsect1>
195204

@@ -220,7 +229,6 @@ PostgreSQL documentation
220229
<simplelist type="inline">
221230
<member><xref linkend="app-createlang"></member>
222231
<member><xref linkend="sql-droplanguage" endterm="sql-droplanguage-title"></member>
223-
<member>Environment Variables (<xref linkend="libpq-envars">)</member>
224232
</simplelist>
225233
</refsect1>
226234

doc/src/sgml/ref/dropuser.sgml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.34 2006/09/16 00:30:18 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.35 2007/02/20 18:10:58 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -171,6 +171,13 @@ PostgreSQL documentation
171171
</listitem>
172172
</varlistentry>
173173
</variablelist>
174+
175+
<para>
176+
This utility, like most other <productname>PostgreSQL</> utilities,
177+
also uses the environment variables supported by <xref
178+
linkend="libpq-envars" endterm="libpq">.
179+
</para>
180+
174181
</refsect1>
175182

176183

@@ -223,7 +230,6 @@ DROP ROLE</computeroutput>
223230
<simplelist type="inline">
224231
<member><xref linkend="app-createuser"></member>
225232
<member><xref linkend="sql-droprole" endterm="sql-droprole-title"></member>
226-
<member>Environment Variables (<xref linkend="libpq-envars">)</member>
227233
</simplelist>
228234
</refsect1>
229235

doc/src/sgml/ref/initdb.sgml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/initdb.sgml,v 1.40 2007/02/01 19:10:24 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/initdb.sgml,v 1.41 2007/02/20 18:10:58 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -291,6 +291,13 @@ PostgreSQL documentation
291291
</listitem>
292292
</varlistentry>
293293
</variablelist>
294+
295+
<para>
296+
This utility, like most other <productname>PostgreSQL</> utilities,
297+
also uses the environment variables supported by <xref
298+
linkend="libpq-envars" endterm="libpq">.
299+
</para>
300+
294301
</refsect1>
295302

296303
<refsect1>

doc/src/sgml/ref/pg_controldata.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_controldata.sgml,v 1.9 2007/01/31 23:26:04 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_controldata.sgml,v 1.10 2007/02/20 18:10:58 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -57,7 +57,6 @@ PostgreSQL documentation
5757
</para>
5858
</listitem>
5959
</varlistentry>
60-
6160
</variablelist>
6261
</refsect1>
6362
</refentry>

doc/src/sgml/ref/pg_ctl-ref.sgml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.38 2007/01/31 23:26:04 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.39 2007/02/20 18:10:58 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -357,6 +357,9 @@ PostgreSQL documentation
357357

358358
<para>
359359
For additional server variables, see <xref linkend="app-postgres">.
360+
This utility, like most other <productname>PostgreSQL</> utilities,
361+
also uses the environment variables supported by <xref
362+
linkend="libpq-envars" endterm="libpq">.
360363
</para>
361364
</refsect1>
362365

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy