pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gerhard Hintermayer <g.hintermayer@inode.at>
To: pgsql-interfaces@postgresql.org
Subject: Re: libpgtcl modifications
Date: Mon, 26 Aug 2002 16:40:52 +0200
Message-ID: <3D6A3DF4.3010407@inode.at> (raw)
References: <200208160458.g7G4wOk15634@candle.pha.pa.us>
	<bd4db85f.0208252300.7d279060@posting.google.com>

Gerhard Hintermayer wrote:
> Last Thursday I posted revision 2 of my patch (directly to
> news.postgresql.org with *no* error). Unfortuntely it does not show up
> here. This are the longest 6 to 9 hours I've ever seen. I Will repost
> in the evening :-(
> 
> Gerhard

Damn, I posted that from the PC located at my girlfriend. Do'nt have the 
description I wrote (It was quite long). Btw, is there a more save way to do 
postings to comp.databases.postgresql.interfaces. I also do get strange replys 
from postmaster@afk.dk when I do post via Google ? Strange !

Here you have a short description, the long one you'll get when I'm at my other 
PC next time.

I added a new command:

pg_on_connection_loss conn ?callback?

changed libpgtcl version to 1.4 to reflect the additional command.

No callback to query the current script, with callback to set/change callback 
script. Script is executed whenever (all occurences of) PQconsumeInput return 
false, i.e. both in an idle database connection and while processing a COPY 
command. Tested a bit, no errors, alle db-operations in callback are allowed 
(and trigger a "is not a valid connection" or so error)

Any comments ?

-- 
Gerhard Hintermayer
http://www.inode.at/g.hintermayer




view thread (13+ messages)  latest in thread

Message-ID: <3D6A3DF4.3010407@inode.at>
Permalink:  ../3D6A3DF4.3010407@inode.at/
Also on:    postgresql.org/message-id/3D6A3DF4.3010407@inode.at

 · 

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-interfaces@postgresql.org
  Cc: g.hintermayer@inode.at
  Subject: Re: libpgtcl modifications
  In-Reply-To: <3D6A3DF4.3010407@inode.at>

* 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