@@ -646,23 +646,24 @@ EOF
646
646
<application>psql</application> is a regular
647
647
<productname>PostgreSQL</productname> client application. In order
648
648
to connect to a database you need to know the name of your target
649
- database, the host name and port number of the server, and what user
650
- name you want to connect as. <application>psql</application> can be
651
- told about those parameters via command line options, namely
649
+ database, the host name and port number of the server, and what
650
+ database user name you want to connect as. <application>psql</application>
651
+ can be told about those parameters via command line options, namely
652
652
<option>-d</option>, <option>-h</option>, <option>-p</option>, and
653
653
<option>-U</option> respectively. If an argument is found that does
654
654
not belong to any option it will be interpreted as the database name
655
- (or the user name, if the database name is already given). Not all
655
+ (or the database user name, if the database name is already given). Not all
656
656
of these options are required; there are useful defaults. If you omit the host
657
657
name, <application>psql</application> will connect via a Unix-domain socket
658
658
to a server on the local host, or via TCP/IP to <literal>localhost</literal> on
659
659
Windows. The default port number is
660
660
determined at compile time.
661
661
Since the database server uses the same default, you will not have
662
- to specify the port in most cases. The default user name is your
663
- operating-system user name, as is the default database name.
662
+ to specify the port in most cases. The default database user name is your
663
+ operating-system user name. Once the database user name is determined, it
664
+ is used as the default database name.
664
665
Note that you cannot
665
- just connect to any database under any user name. Your database
666
+ just connect to any database under any database user name. Your database
666
667
administrator should have informed you about your access rights.
667
668
</para>
668
669
0 commit comments