Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id BBD8E476456 for ; Mon, 2 Sep 2002 21:07:47 -0400 (EDT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id C5E4D47643D for ; Mon, 2 Sep 2002 21:07:45 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g8317WD08663; Mon, 2 Sep 2002 21:07:32 -0400 (EDT) From: Bruce Momjian Message-Id: <200209030107.g8317WD08663@candle.pha.pa.us> Subject: Re: libpgtcl modifications In-Reply-To: <3D6A3DF4.3010407@inode.at> To: Gerhard Hintermayer Date: Mon, 2 Sep 2002 21:07:32 -0400 (EDT) Cc: pgsql-interfaces@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/6 X-Sequence-Number: 3067 Patch applied for 7.3. Thanks. --------------------------------------------------------------------------- Gerhard Hintermayer wrote: > 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 > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073