Re: mod_perl/dbi/apache query will not finish

From: Keith Keller <kkeller-postgres(at)wombat(dot)san-francisco(dot)ca(dot)us>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: mod_perl/dbi/apache query will not finish
Date: 2003-01-15 06:31:14
Message-ID: 20030115063114.GA11048@wombat.san-francisco.ca.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Jan 15, 2003 at 05:13:32AM +0000, Jason S. Friedman wrote:
> I send a query to the Postgres backend using a mod_perl script and DBI.
> I watch the trace log, it looks something like this:
> [snips]
> And that's it. I can see that it wants to return 76 rows, but it stops at row28. Sometimes, several minutes later, it does return the remaining rows, but by then the browser has given up.

What happens when you run the script from the commandline, or
in a CGI-but-not-mod_perl environment? In particular, if running
the script from a command prompt exhibits the same behaviour,
I'd suspect some code that you're using that's changed in
DBI versions. (That's probably a good place to start, since
you mentioned that the queries run fine from psql.)

- --keith

- --
kkeller(at)speakeasy(dot)net
public key: http://wombat.san-francisco.ca.us/kkeller/kkeller.asc
alt.os.linux.slackware FAQ: http://wombat.san-francisco.ca.us/cgi-bin/fom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj4lAC8ACgkQhVcNCxZ5ID8ijACdF4Pj4QGr6Xxr9+N/uGVV7Sbb
xcQAnRrfJySCPo8A7sjAonQNh72db0JK
=FPVE
-----END PGP SIGNATURE-----

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Oliver Elphick 2003-01-15 12:32:59 Re: Upgrading to RH8.0 causes: "An old version of the
Previous Message Jason S. Friedman 2003-01-15 05:17:22 mod_perl/dbi/apache (...I should have mentioned)