Your message dated Thu, 16 Aug 2012 12:48:55 +0200
with message-id <[email protected]>
and subject line Re: Bug#648895: postgresql-client: help lists wrong default
has caused the Debian Bug report #648895,
regarding postgresql-client: help lists wrong default
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
648895: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648895
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.4    8.4.8-0squeeze2 front-end programs for PostgreSQL 

postgresql-client recommends no packages.

postgresql-client suggests no packages.

-- debconf-show failed



--- End Message ---
--- Begin Message ---
Hello Jasen,

Jasen Betts [2011-11-16 11:41 +1300]:
> 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.

As Peter pointed out, the default actually depends on a lot more than
just the system account username. With 9.1, --help just says

    -d, --dbname=DBNAME      database name to connect to (default: "martin")

which removes any potentially confusing explanation where the default
comes from. I think that's the best for a brief online help, and if
you are interested where the default comes from, there's the full HTML
documentation available.

So I consider this fixed now with postgresql-9.1, closing report. Thanks!

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

--- End Message ---

Reply via email to