Bug#648895: postgresql-client: help lists wrong default

2012-02-19 Thread Peter Eisentraut
On ons, 2011-11-16 at 11:41 +1300, Jasen Betts wrote:
 psql --help  
 
 suggests that the default database name is user's system account username 
 however the default database is actually the same as the value of the
 username parameter and only takes the system user name if neither is
 specified.
 
 perhaps it should say 
 
   Default: same as database username, %s

There is even more involved.  For example, it takes into account whether
the PGDATABASE environment variable is set.  If it is, the updated
wording you propose wouldn't be correct anymore either.

Not sure how much of this logic we want to cram into a one-line help.
At some point, one has to read the documentation.





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#648895: postgresql-client: help lists wrong default

2011-11-15 Thread Jasen Betts
Package: postgresql-client
Version: 8.4.8-0squeeze2
Severity: minor


psql --help  

suggests that the default database name is user's system account username 
however the default database is actually the same as the value of the
username parameter and only takes the system user name if neither is
specified.

perhaps it should say 

  Default: same as database username, %s

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages postgresql-client depends on:
ii  postgresql-client-8.48.4.8-0squeeze2 front-end programs for PostgreSQL 

postgresql-client recommends no packages.

postgresql-client suggests no packages.

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org