Re: [Fwd: Re: libpgtcl modifications]

Started by Bruce Momjianalmost 24 years ago1 messagespatches
Jump to latest
#1Bruce Momjian
bruce@momjian.us

[ Author is having trouble getting this on the lists. Patch attached.]

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:

Sorry, but 50% of my posting to comp.databases.postgresql.interfaces get lost,
so I send version 2 of my patch directly to you. A longer description, which
I've already posted, I will post (or at least try to) tomorrow. Are there any
problems with c.d.p.interfaces ?

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

[ application/x-gunzip is not supported, skipping... ]

-- Start of included mail.

From - Mon Aug 26 16:40:53 2002

X-Mozilla-Status2: 00800000
Message-ID: <3D6A3DF4.3010407@inode.at>
Date: Mon, 26 Aug 2002 16:40:52 +0200
From: Gerhard Hintermayer <g.hintermayer@inode.at>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020510
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.databases.postgresql.interfaces
Subject: Re: libpgtcl modifications
References: <200208160458.g7G4wOk15634@candle.pha.pa.us> <bd4db85f.0208252300.7d279060@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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 included mail.

-- 
  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

Attachments:

/bjm/x.gzapplication/x-gzipDownload