pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Luis H <pgsql-php@geekhouse.no-ip.com>
To: Chris FR <gras.christophe@libertysurf.fr>
To: pgsql-php@postgresql.org
Subject: Re: Strange browser behavior when querying PostgreSql database
Date: Fri, 5 Sep 2003 08:43:20 -0400
Message-ID: <003b01c373ab$49f2b2f0$0000fea9@bigbertha> (raw)
References: <2a584f81.0309020650.6457780e@posting.google.com>

Are you sure it freezes on the query? Could it be php code that uses the
results from the query that hang the system?

-L
----- Original Message ----- 
From: "Chris FR" <gras.christophe@libertysurf.fr>
To: <pgsql-php@postgresql.org>
Sent: Tuesday, September 02, 2003 10:50 AM
Subject: [PHP] Strange browser behavior when querying PostgreSql database


> Hi,
>
> I have a problem in a php script :
>
> when I execute it via Internet Explorer , sometimes the source is
> complete (no problem), sometimes the source is incomplete (the html
> page is cutted), and sometimes the browser doesn't display anything
> and wait and wait and wait ....
>
> The problem comes from a request I peform in this PHP script :
>
> when I do the following request I have the problems quoted above :
>
> SELECT a.* FROM a WHERE a.idf = b.id
>
> I solved the problem by modifying the request :
>
> SELECT a.* FROM a, b WHERE a.idf = b.id
>
> Now the script works.
>
> But I don't understand why the first request causes those problems ?
>
> Is the first request has a correct syntax ? ( when submitted to
> Postgres, there is no error message , and the results are displayed)
> Is it due to PHP ? or PostgreSQL?
>
>
> Thanks in advance,
>
>
> Christophe Gras
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>





view thread (9+ messages)  latest in thread

Message-ID: <003b01c373ab$49f2b2f0$0000fea9@bigbertha>
Permalink:  ../003b01c373ab$49f2b2f0$0000fea9@bigbertha/
Also on:    postgresql.org/message-id/003b01c373ab$49f2b2f0$0000fea9@bigbertha

 · 

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-php@postgresql.org
  Cc: pgsql-php@geekhouse.no-ip.com, gras.christophe@libertysurf.fr
  Subject: Re: Strange browser behavior when querying PostgreSql database
  In-Reply-To: <003b01c373ab$49f2b2f0$0000fea9@bigbertha>
  References: <2a584f81.0309020650.6457780e@posting.google.com> <003b01c373ab$49f2b2f0$0000fea9@bigbertha>

* 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