Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B257A476091 for ; Tue, 27 Aug 2002 17:07:26 -0400 (EDT) Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (Postfix) with ESMTP id 3C12E4766CA for ; Tue, 27 Aug 2002 17:07:23 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g7RL7IR19092; Tue, 27 Aug 2002 17:07:18 -0400 (EDT) From: Bruce Momjian Message-Id: <200208272107.g7RL7IR19092@candle.pha.pa.us> Subject: Re: libpgtcl modifications In-Reply-To: <3D6A3DF4.3010407@inode.at> To: Gerhard Hintermayer Date: Tue, 27 Aug 2002 17:07:18 -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: 200208/85 X-Sequence-Number: 3047 Your patch has been added to the PostgreSQL unapplied patches list at: http://candle.pha.pa.us/cgi-bin/pgpatches I will try to apply it within the next 48 hours. --------------------------------------------------------------------------- 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