Re: [bug fix] connection service file doesn't take effect with ECPG apps

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: [bug fix] connection service file doesn't take effect with ECPG apps
Дата
Msg-id 20131228113347.GA11959@feivel.credativ.lan
обсуждение исходный текст
Ответ на Re: [bug fix] connection service file doesn't take effect with ECPG apps  ("MauMau" <maumau307@gmail.com>)
Ответы Re: [bug fix] connection service file doesn't take effect with ECPG apps
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Mohsen SM
Дата:
Сообщение: control to don't toast one new type
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: [bug fix] ECPG app crashes due to SIGBUS on SPARC Solaris