BUG #5304: psql using conninfo fails in connecting to the server

From: "Fujii Masao" <masao(dot)fujii(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5304: psql using conninfo fails in connecting to the server
Date: 2010-02-01 07:39:58
Message-ID: 201002010739.o117dwK5056931@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers


The following bug has been logged online:

Bug reference: 5304
Logged by: Fujii Masao
Email address: masao(dot)fujii(at)gmail(dot)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 '='.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2010-02-01 08:31:03 Re: BUG #5304: psql using conninfo fails in connecting to the server
Previous Message Steve White 2010-01-31 14:07:20 REFERENCES misbehaves with inheritance

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2010-02-01 07:40:16 Re: Hot Standby and deadlock detection
Previous Message KaiGai Kohei 2010-02-01 07:10:16 Re: Largeobject Access Controls (r2460)