Re: NOTIFY/LISTEN Using Embedded SQL (ecpg)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Craig Orsinger" <cjorsinger(at)m5(dot)earthlink(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: NOTIFY/LISTEN Using Embedded SQL (ecpg)
Date: 2001-05-23 19:25:44
Message-ID: 16561.990645944@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Craig Orsinger" <cjorsinger(at)m5(dot)earthlink_net(dot)invalid> writes:
> So, it appears that I can set up my program to LISTEN or
> UNLISTEN using embedded SQL, but I can't get a notification when
> it's sent. Or so I think. _Is_ there a way to get the libpq connection info
> from the ESQL CONNECT call?

Seems like there should be, if there isn't. NOTIFY isn't the only thing
you might want to grab the PGconn object for.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Björn Lundin 2001-05-23 19:26:54 RE: Autocommit off in psql??
Previous Message Tom Lane 2001-05-23 19:23:48 Re: Row-Level Locking?