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

Commit8962b61

Browse files
author
Neil Conway
committed
Document that the "-P" option to pg_autovacuum is insecure on many
platforms, and suggest using ~/.pgpass instead.
1 parentd4beb26 commit8962b61

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

‎contrib/pg_autovacuum/README.pg_autovacuum

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ list.
3636

3737
pg_autovacuum requires that the statistics system be enabled and
3838
reporting row level stats. The overhead of the stats system has been
39-
shown tohave asignificantcostunder certain workloads. For
40-
instance, atight loop of queries performing "select 1" was found to
41-
run nearly30% slower when stats were enabled. However, in practice,
39+
shown tobesignificant under certain workloads. For instance, a
40+
tight loop of queries performing "select 1" was found to run nearly
41+
30% slower when row-level stats were enabled. However, in practice,
4242
with more realistic workloads, the stats system overhead is usually
4343
nominal.
4444

@@ -127,8 +127,11 @@ pg_autovacuum has the following optional arguments:
127127
-U username: Username pg_autovacuum will use to connect with, if not
128128
specified the current username is used.
129129
-P password: Password pg_autovacuum will use to connect with. *WARNING*
130-
When installed as a Windows Service, this option will be stored in plain
131-
text in the registry.
130+
This option is insecure. When installed as a Windows Service, this
131+
option will be stored in plain text in the registry. When used with
132+
most Unix variants, other users will be able to see the argument to
133+
the "-P" option via ps(1). The ~/.pgpass file can be used to
134+
specify a password more securely.
132135
-H host: host name or IP to connect to.
133136
-p port: port used for connection.
134137
-h help: list of command line options.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp