bugzilla-daemon at main.slony.info bugzilla-daemon at main.slony.info
Wed Dec 15 06:02:12 PST 2010
http://www.slony.info/bugzilla/show_bug.cgi?id=172

--- Comment #6 from Steve Singer <ssinger at ca.afilias.info> 2010-12-15 06:02:12 PST ---
In the first patch you add a stored function store_application_name()
wouldn't it be better for your change to slonik to use this function
instead of duplicating the logic?

I realize that there is a bit of a chicken/egg situation here in that until
slonik installs the slony schema the function doesn't exist so it can't be
called.


I am also not sure how I feel about querying the catalog pg_settings table for
application name to see what version we are on.   The other way of approaching
this is to check the server version on from the pg connection data structures
and not set the application name accordingly  OR we can have a no-op
implementation of store_application_name() for versions < 9.0.

-- 
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.


More information about the Slony1-bugs mailing list