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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers