pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aaron Spiteri <aaron@m1group.com.au>
To: Pgsql-Admin <pgsql-admin@postgresql.org>
Subject: Fast CGI
Date: Thu, 02 May 2002 23:02:23 GMT
Message-ID: <20020502.23022300@scooby.m1group.com.au> (raw)

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.  

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

Message-ID: <20020502.23022300@scooby.m1group.com.au>
Permalink:  ../20020502.23022300@scooby.m1group.com.au/
Also on:    postgresql.org/message-id/20020502.23022300@scooby.m1group.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: aaron@m1group.com.au
  Subject: Re: Fast CGI
  In-Reply-To: <20020502.23022300@scooby.m1group.com.au>
  References: <20020502.23022300@scooby.m1group.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox