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 | 20131227115757.GA21708@feivel.credativ.lan обсуждение исходный текст |
Ответ на | [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 Tue, Dec 17, 2013 at 09:26:49PM +0900, MauMau wrote: > [Problem] > The ECPG app runs the statement: > > EXEC SQL CONNECT TO 'tcp:postgresql://?service=my_service'; > ... > ECPGconnect() parses the URI and produces an empty host name. It > passes an empty string as the value for "host" connection parameter > to PQconnectdbParams(). Interestingly enough it works flawlessly on my system. Any idea where the empoty host name comes from? Before accepting the patch I'd like to find out why you got an empty host variable and I don't. 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 по дате отправления: