Re: [PATCHES] libpq events patch (with sgml docs)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
Cc: "Andrew Chernow" <ac(at)esilo(dot)com>, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] libpq events patch (with sgml docs)
Date: 2008-09-19 20:14:16
Message-ID: 25233.1221855256@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

"Merlin Moncure" <mmoncure(at)gmail(dot)com> writes:
> On Fri, Sep 19, 2008 at 2:14 PM, Andrew Chernow <ac(at)esilo(dot)com> wrote:
>> BTW, the event system might be an alternative solution for PGNoticeHooks
>> (PGEVT_NOTICE).

> Another possible use of the event hooks -- just spitballing here -- is
> to generate an event when a notification comes through (you would
> still receive events the old way., by command or PQconsumeInput).

Seems rather pointless; you'd just be adding multiple ways to do things
we can do perfectly well now.

> Maybe this would eventually replace the current notification interface
> (wasn't this going to be changed anyways?)

No, I don't think anyone was unhappy with the libpq API for it.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2008-09-19 20:28:32 Re: FSM patch - performance test
Previous Message Tom Lane 2008-09-19 20:08:11 Re: [PATCHES] libpq events patch (with sgml docs)

Browse pgsql-patches by date

  From Date Subject
Next Message Jaime Casanova 2008-09-22 00:29:17 Re: [PgFoundry] Unsigned Data Types [1 of 2]
Previous Message Tom Lane 2008-09-19 20:08:11 Re: [PATCHES] libpq events patch (with sgml docs)