Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 53CF6475966 for ; Mon, 26 Aug 2002 10:40:56 -0400 (EDT) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id E7D464758FB for ; Mon, 26 Aug 2002 10:40:55 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id 5748C3819AA; Mon, 26 Aug 2002 10:40:54 -0400 (EDT) From: Gerhard Hintermayer X-Newsgroups: comp.databases.postgresql.interfaces Subject: Re: libpgtcl modifications Date: Mon, 26 Aug 2002 16:40:52 +0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 34 Message-ID: <3D6A3DF4.3010407@inode.at> References: <200208160458.g7G4wOk15634@candle.pha.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: news@hub.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020510 X-Accept-Language: en-us, en To: pgsql-interfaces@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/75 X-Sequence-Number: 3037 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