bugzilla-daemon at main.slony.info bugzilla-daemon at main.slony.info
Mon Nov 15 10:35:23 PST 2010
http://www.slony.info/bugzilla/show_bug.cgi?id=165

--- Comment #6 from Steve Singer <ssinger at ca.afilias.info> 2010-11-15 10:35:23 PST ---
Digging around a bit I see the following options


1) We can commit Jose's patch such that if it compiles against a 8.4 or above
libpq then we use his patch + the PQconninfo parse function.  Otherwise we 
don't strip the password from the log messages

2) We can copy the conn info parsing code from fe-connect.c in the
libpq/postgresql source tree so we have a version available to slony when it
compiles against 8.3.   The conninfo parsing code lives in previous versions of
fe-connect.c but the functions are all static so we can't call them.


3) We can try to come up with our own method of parsing conninfo strings.
I no longer think this is a viable idea looking at the code in fe-connect.c
This isn't a short snippet of code. 

4) Do nothing/punt on this until slony requires a minimum of 8.4 for other
reasons

Does anyone have a good argument for one of the above (if not 4 wins by default
since it is the 'do nothing' option

-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Slony1-bugs mailing list