Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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

pgsql-hackers by date

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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group