title: How to monitor postgresql database table for any changes via c#
body: <p>I have a windows service running which reads configurations from a table from PostgreSQL. These settings are read only once at the time of service startup and for any change in them, the service needs to be restarted. I am looking for a mechanism in C# to monitor any changes on database. So that I would then fetch back the settings on database change. </p>
  
  <p>One approach I was looking for, is to write/modify a text file from PostgreSQL trigger and then use FileWatcher to update the settings. But no success there either.</p>