From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: ECPG could not connect to the database. |
Date: | 2001-01-09 19:01:16 |
Message-ID: | 20010109200116.A5529@feivel.fam-meskes.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, Jan 09, 2001 at 12:11:58PM -0500, Tom Lane wrote:
> broken, it's not documented (at least not in the libpq documentation),
> it interferes with accessing databases whose names contain funny
> characters, and it looks likely to create compatibility problems with
> future standards. It also didn't play well with the Unix-socket-path-
> specification change, IIRC.
How do these standards look like? Back when I implemented this kind of
database name specification we discussed it here and decided to go for this
syntax.
> It's not being "taken away" from other apps, because there are no other
> apps using it, because it's not documented as a feature of anything
> except ecpg.
Yes, that's true. But IMO it would be a major plus if all apps can use the
same database name.
It's not that I desperately want this syntax. I'm willing to change ECPG to
use the same syntax everything else uses. But how do you specify the
database name to psql? Personally I do not think using environment variables
is a good idea. For compatibility it should remain that way, but I would not
recommend using this.
Michael
--
Michael Meskes
Michael(at)Fam-Meskes(dot)De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2001-01-09 19:03:09 | Re: is there a vendor independent C API for DB development? |
Previous Message | Mikheev, Vadim | 2001-01-09 18:37:39 | RE: WAL questions |