BUG #5304: psql using conninfo fails in connecting to the server - Mailing list pgsql-bugs

From Fujii Masao
Subject BUG #5304: psql using conninfo fails in connecting to the server
Date
Msg-id 201002010739.o117dwK5056931@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5304: psql using conninfo fails in connecting to the server  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5304
Logged by:          Fujii Masao
Email address:      masao.fujii@gmail.com
PostgreSQL version: HEAD
Operating system:   RHEL5.1
Description:        psql using conninfo fails in connecting to the server
Details:

In HEAD, psql using conninfo fails in connecting to the server as follows.

  $ bin/psql "host=localhost"
  psql: FATAL:  database "host=localhost" does not exist

This is because the recently-introduced PQconnectStartParams()
doesn't handle correctly the dbname parameter containing '='.

pgsql-bugs by date:

Previous
From: Steve White
Date:
Subject: REFERENCES misbehaves with inheritance
Next
From: Heikki Linnakangas
Date:
Subject: Re: BUG #5304: psql using conninfo fails in connecting to the server