> > To make the long story short...my question is this..is it
> possible to
> > run the listener command in C# or will it only work in psql?
>
> There's no theoretical reason why not. You probably need to
> read the docs on whatever C# Postgres driver you're using
> (ADO, ODBC etc) and find out how it handles LISTEN/NOTIFY, as
> that's not (AFAIK) a standard feature.
IIRC, you need to use the NPgsql native driver to do it. It doesn't work
through ODBC or such - at least not the way you want it.
//Magnus