pg.ddx.io  pgsql-patches@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Andrew Chernow <ac@esilo.com>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [PATCHES] libpq events patch (with sgml docs)
Date: Fri, 19 Sep 2008 16:14:16 -0400
Message-ID: <25233.1221855256@sss.pgh.pa.us> (raw)
In-Reply-To: <b42b73150809191139r72a0e87av2cebf8812baae984@mail.gmail.com>
References: <48C18533.2000204@esilo.com>
	<454.1221626213@sss.pgh.pa.us>
	<48D0DFBE.9050900@esilo.com>
	<8872.1221653812@sss.pgh.pa.us>
	<48D1041D.5070808@esilo.com>
	<10839.1221658586@sss.pgh.pa.us>
	<48D11443.4010608@esilo.com>
	<48D11631.8070709@esilo.com>
	<28666.1221840662@sss.pgh.pa.us>
	<48D3EBEC.1040503@esilo.com>
	<b42b73150809191139r72a0e87av2cebf8812baae984@mail.gmail.com>

"Merlin Moncure" <mmoncure@gmail.com> writes:
> On Fri, Sep 19, 2008 at 2:14 PM, Andrew Chernow <ac@esilo.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



view thread (31+ messages)

Message-ID: <25233.1221855256@sss.pgh.pa.us>
Permalink:  ../25233.1221855256@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25233.1221855256@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-patches@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mmoncure@gmail.com, ac@esilo.com, alvherre@commandprompt.com, pgsql-hackers@postgresql.org
  Subject: Re: [PATCHES] libpq events patch (with sgml docs)
  In-Reply-To: <25233.1221855256@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox