Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id DA4DD475C55 for ; Thu, 2 May 2002 19:52:03 -0400 (EDT) Received: from pugsly.m1group.com.au (unknown [203.38.113.174]) by postgresql.org (Postfix) with ESMTP id E3ED6475C0F for ; Thu, 2 May 2002 19:12:18 -0400 (EDT) Received: from scooby.m1group.com.au ([192.168.100.96]) by pugsly.m1group.com.au (8.11.2/8.11.0) with SMTP id g42N4jf02045 for ; Fri, 3 May 2002 07:04:46 +0800 From: Aaron Spiteri Date: Thu, 02 May 2002 23:02:23 GMT Message-ID: <20020502.23022300@scooby.m1group.com.au> Subject: Fast CGI To: Pgsql-Admin X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2;Linux) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary= "------------=_4D480089AB5C088E3678" Content-Transfer-Encoding: 7bit X-Archive-Number: 200205/13 X-Sequence-Number: 4188 --------------=_4D480089AB5C088E3678 Content-Description: filename="text1.txt" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all, Does any one know a method of creating a persistent connection to=20 postgresql using PERL DBI::Pg and Apache, I have been experimenting with= =20 CGI::Fast and use compiled Fcgi module into Apache. While all seemed=20 fine when I checked the connection of postgres using a ps -xa| grep -e=20 '.*postmaster.*' command what I expected to see was something like=20 postmaster idle for a persistent but idle connection. However it appeared= =20 has if FCGI ignored the while loop I had created and just executed from=20 start to end.=20=20 The trouble with this is I can not create 'Rollback' (AKA undo) buttons,=20 coding becomes more expensive and I am suspected to more coding errors do= =20 to unnecessary complexity. Has any one any experience with FCGI and=20 Postgresql am I writing to the wrong mailing list? Aaron Spiteri --------------=_4D480089AB5C088E3678 Content-Description: filename="text1.html" Content-Type: text/html Content-Transfer-Encoding: quoted-printable Fast CGI
Hi all,

Does any one know a method of creating a persistent connection to
postgresql using PERL DBI::Pg and Apache,  I have been experimenting
with CGI::Fast and use compiled Fcgi module into Apache.  While all
seemed fine when I checked the connection of postgres using a ps -xa|
grep -e '.*postmaster.*' command what I expected to see was something
like postmaster idle for a persistent but idle connection. However it
appeared has if FCGI ignored the while loop I had created and just
executed from start to end.=20=20

The trouble with this is I can not create 'Rollback' (AKA undo)
buttons, coding becomes more expensive and I am suspected to more
coding errors do to unnecessary complexity.  Has any one any experience
with FCGI and Postgresql am I writing to the wrong mailing list?

Aaron Spiteri
--------------=_4D480089AB5C088E3678--