Search Postgresql Archives

Re: Using LISTEN/NOTIFY in C#.NET

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux