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

Commit b71a489

Browse files
committed
Add documentation to 'createuser' that ALTER USER must be used to add or
modify passwords, per user confusion report. Also clean up wording that command line utils need database access.
1 parent ab64881 commit b71a489

File tree

4 files changed

+26
-21
lines changed

4 files changed

+26
-21
lines changed

doc/src/sgml/ref/createdb.sgml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/createdb.sgml,v 1.32 2003/03/24 14:32:51 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/createdb.sgml,v 1.33 2003/05/26 17:50:09 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -44,11 +44,11 @@ PostgreSQL documentation
4444
<para>
4545
<application>createdb</application> is a wrapper around the
4646
<acronym>SQL</acronym> command <xref linkend="SQL-CREATEDATABASE"
47-
endterm="SQL-CREATEDATABASE-title">. Thus, there is nothing
48-
special about creating databases via this or other methods. This
49-
means that a database server must be running at the targeted
50-
host. Also, any default settings and environment variables used by
51-
the <application>libpq</application> front-end library will apply.
47+
endterm="SQL-CREATEDATABASE-title">. The database server must be
48+
running on the targeted host. There is nothing special about creating
49+
databases via this or other methods. Also, any default settings and
50+
environment variables used by the <application>libpq</application>
51+
front-end library will apply.
5252
</para>
5353
</refsect1>
5454

doc/src/sgml/ref/createuser.sgml

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/createuser.sgml,v 1.32 2003/03/24 14:32:51 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/createuser.sgml,v 1.33 2003/05/26 17:50:09 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -45,13 +45,19 @@ PostgreSQL documentation
4545
<para>
4646
<application>createuser</application> is a wrapper around the
4747
<acronym>SQL</acronym> command <xref linkend="SQL-CREATEUSER"
48-
endterm="SQL-CREATEUSER-title">. Thus, there is nothing special
49-
about creating users via this or other methods. This means that a
50-
database server must be running at the targeted host. Also, any
48+
endterm="SQL-CREATEUSER-title">. The database server must be
49+
running on the targeted host. There is nothing special
50+
about creating users via this or other methods. Also, any
5151
default settings and environment variables used by the
5252
<application>libpq</application> front-end library will apply.
5353
</para>
5454

55+
<para>
56+
Passwords can only be added later, changed, or removed using the
57+
<acronym>SQL</acronym> command <xref linkend="SQL-ALTERUSER"
58+
endterm="SQL-ALTERUSER-title">.
59+
</para>
60+
5561
</refsect1>
5662

5763

doc/src/sgml/ref/dropdb.sgml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/dropdb.sgml,v 1.21 2003/03/24 14:32:51 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/dropdb.sgml,v 1.22 2003/05/26 17:50:09 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -37,11 +37,11 @@ PostgreSQL documentation
3737
<para>
3838
<application>dropdb</application> is a wrapper around the
3939
<acronym>SQL</acronym> command <xref linkend="SQL-DROPDATABASE"
40-
endterm="SQL-DROPDATABASE-title">. Thus, there is nothing special
41-
about dropping databases via this or other methods. This means that
42-
a database server is running at the targeted host. Also, any
40+
endterm="SQL-DROPDATABASE-title">. The database server must be
41+
running on the targeted host. There is nothing special
42+
about dropping databases via this or other methods. Also, any
4343
default settings and environment variables used by the
44-
<application>libpq</application> front-end library do apply.
44+
<application>libpq</application> front-end library will apply.
4545
</para>
4646
</refsect1>
4747

doc/src/sgml/ref/dropuser.sgml

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.24 2003/03/24 14:32:51 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.25 2003/05/26 17:50:09 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -39,12 +39,11 @@ PostgreSQL documentation
3939
<para>
4040
<application>dropuser</application> is a shell script wrapper
4141
around the <acronym>SQL</acronym> command <xref
42-
linkend="SQL-DROPUSER" endterm="SQL-DROPUSER-title">. Thus, there
42+
linkend="SQL-DROPUSER" endterm="SQL-DROPUSER-title">. The database
43+
server must be running on the targeted host. There
4344
is nothing special about removing users via this or other
44-
methods. This means that a database server is running at the
45-
targeted host. Also, any default settings and environment variables
46-
used by the <application>libpq</application> front-end library do
47-
apply.
45+
methods. Also, any default settings and environment variables
46+
used by the <application>libpq</application> front-end library will apply.
4847
</para>
4948
</refsect1>
5049

0 commit comments

Comments
 (0)