Dynamic configuration via LDAP in postmaster

From: Vasily Soshnikov <dedok(dot)mad(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Dynamic configuration via LDAP in postmaster
Date: 2013-12-03 15:12:59
Message-ID: CAJb1v+=VfymbY9ot7S0awr13CiDb=8_N26Rx8dhC+n9Qf6_ceg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I need advise about where is best place for adding such features.

Currently I found that 'postmaster' have event loop(including handling
SIGHUP) inside PostgressMain(postgress.c) for realoding configuration
file, based on my investigation my plan is handling ldap events just before
SIGHUP.

PS I guess tomorrow I will start implement this feature inside
'postmaster', but before I start I wish to know expert opinion about where
are most good place for dispatching of incomming messages(about
configuration has changed etc) from the ldap.

--

*Regard,Soshnikov Vasily mailto:dedok(dot)mad(at)gmail(dot)com <dedok(dot)mad(at)gmail(dot)com>*

Browse pgsql-general by date

  From Date Subject
Next Message Dorian Hoxha 2013-12-03 16:03:46 Re: Complex sql, limit-for-each group by, arrays, updates
Previous Message Stephen Frost 2013-12-03 13:54:50 Re: Trust intermediate CA for client certificates