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

Commit571df93

Browse files
committed
More clearly document that most PostgreSQL utilities support libpq
environment variables. Backpatch to 8.2.X.
1 parentecba519 commit571df93

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

‎doc/src/sgml/ref/pg_dump.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/pg_dump.sgml,v 1.95 2007/02/2015:01:17 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.96 2007/02/2018:10:58 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -683,6 +683,13 @@ PostgreSQL documentation
683683
</listitem>
684684
</varlistentry>
685685
</variablelist>
686+
687+
<para>
688+
This utility, like most other <productname>PostgreSQL</> utilities,
689+
also uses the environment variables supported by <xref
690+
linkend="libpq-envars" endterm="libpq">.
691+
</para>
692+
686693
</refsect1>
687694

688695
<refsect1 id="app-pgdump-diagnostics">
@@ -693,7 +700,9 @@ PostgreSQL documentation
693700
<command>SELECT</command> statements. If you have problems running
694701
<application>pg_dump</application>, make sure you are able to
695702
select information from the database using, for example, <xref
696-
linkend="app-psql">.
703+
linkend="app-psql">. Also, any default connection settings and environment
704+
variables used by the <application>libpq</application> front-end
705+
library will apply.
697706
</para>
698707
</refsect1>
699708

@@ -866,7 +875,6 @@ CREATE DATABASE foo WITH TEMPLATE template0;
866875
<member><xref linkend="app-pg-dumpall"></member>
867876
<member><xref linkend="app-pgrestore"></member>
868877
<member><xref linkend="app-psql"></member>
869-
<member>Environment Variables (<xref linkend="libpq-envars">)</member>
870878
</simplelist>
871879
</refsect1>
872880

‎doc/src/sgml/ref/pg_dumpall.sgml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.65 2007/02/01 04:39:33 neilc Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.66 2007/02/20 18:10:58 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -403,6 +403,13 @@ PostgreSQL documentation
403403
</listitem>
404404
</varlistentry>
405405
</variablelist>
406+
407+
<para>
408+
This utility, like most other <productname>PostgreSQL</> utilities,
409+
also uses the environment variables supported by <xref
410+
linkend="libpq-envars" endterm="libpq">.
411+
</para>
412+
406413
</refsect1>
407414

408415

@@ -458,9 +465,8 @@ PostgreSQL documentation
458465
<title>See Also</title>
459466

460467
<para>
461-
<xref linkend="app-pgdump">. Check there for details on possible
462-
error conditions. Also see supported environment variables
463-
(<xref linkend="libpq-envars">).
468+
Check <xref linkend="app-pgdump"> for details on possible
469+
error conditions.
464470
</para>
465471
</refsect1>
466472

‎doc/src/sgml/ref/pg_restore.sgml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.68 2007/02/2015:01:17 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.69 2007/02/2018:10:58 momjian Exp $ -->
22

33
<refentry id="APP-PGRESTORE">
44
<refmeta>
@@ -508,6 +508,13 @@
508508
</listitem>
509509
</varlistentry>
510510
</variablelist>
511+
512+
<para>
513+
This utility, like most other <productname>PostgreSQL</> utilities,
514+
also uses the environment variables supported by <xref
515+
linkend="libpq-envars" endterm="libpq">.
516+
</para>
517+
511518
</refsect1>
512519

513520

@@ -520,7 +527,9 @@
520527
internally executes <acronym>SQL</acronym> statements. If you have
521528
problems running <application>pg_restore</application>, make sure
522529
you are able to select information from the database using, for
523-
example, <xref linkend="app-psql">.
530+
example, <xref linkend="app-psql">. Also, any default connection
531+
settings and environment variables used by the
532+
<application>libpq</application> front-end library will apply.
524533
</para>
525534
</refsect1>
526535

@@ -680,7 +689,6 @@ CREATE DATABASE foo WITH TEMPLATE template0;
680689
<member><xref linkend="app-pgdump"></member>
681690
<member><xref linkend="app-pg-dumpall"></member>
682691
<member><xref linkend="app-psql"></member>
683-
<member>Environment Variables (<xref linkend="libpq-envars">)</member>
684692
</simplelist>
685693
</refsect1>
686694
</refentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp