| From: | Michael Meskes <meskes(at)postgresql(dot)org> |
|---|---|
| To: | MauMau <maumau307(at)gmail(dot)com> |
| Cc: | Michael Meskes <meskes(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: [bug fix] connection service file doesn't take effect with ECPG apps |
| Date: | 2013-12-28 11:33:47 |
| Message-ID: | 20131228113347.GA11959@feivel.credativ.lan |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sat, Dec 28, 2013 at 04:37:44PM +0900, MauMau wrote:
> You can confirm it by adding the following code fragment to
> ecpglib/connect.c. The attached file contains this.
> ...
Sorry for not being precide enough. I did run some tests and it works like a charm for me.
Or in other words, I used the connect command you had in your email with a
services file pointing to a local database and it connected to that database.
Instead of adding an additional output I checked the log output which suggested
that host was NULL.
While I cannot see how your patch could do any harm, I'd still like to figure
out why I don't see the same behaviour.
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Meskes | 2013-12-28 11:34:14 | Re: [bug fix] ECPG app crashes due to SIGBUS on SPARC Solaris |
| Previous Message | Mohsen SM | 2013-12-28 10:28:35 | control to don't toast one new type |