Fri Dec 10 08:26:53 PST 2010
- Previous message: [Slony1-bugs] [Bug 172] Use application_name
- Next message: [Slony1-bugs] [Bug 172] Use application_name
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
http://www.slony.info/bugzilla/show_bug.cgi?id=172 --- Comment #3 from Christopher Browne <cbbrowne at ca.afilias.info> 2010-12-10 08:26:53 PST --- Added branch for development of this feature... Added function store_application_name(name) that checks to see if the GUC variable exists, and sets it, if so. Added a hook to slon_connectdb() that calls the function. https://github.com/cbbrowne/slony1-engine/commit/a2d97d94017e74b0fdad100f4be3b2327a56b29d Sample output on Postgres HEAD: testdb at localhost-> select datid, datname, procpid, application_name from pg_stat_activity where application_name like 'slon%'; datid | datname | procpid | application_name -------+---------------+---------+--------------------------- 44510 | slonyregress1 | 30969 | slon.local_listen 44510 | slonyregress1 | 30974 | slon.local_cleanup 44510 | slonyregress1 | 30975 | slon.local_sync 44573 | slonyregress2 | 30976 | slon.node_2_listen 44510 | slonyregress1 | 30977 | slon.remoteWorkerThread_2 (5 rows) -- 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.
- Previous message: [Slony1-bugs] [Bug 172] Use application_name
- Next message: [Slony1-bugs] [Bug 172] Use application_name
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-bugs mailing list