pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris <dmagick@gmail.com>
To: babak badaei <badaei@yahoo.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Postgres 8.1.4 + PHP, hangs when querying more than 16
Date: Thu, 31 Aug 2006 16:42:01 +1000
Message-ID: <44F684B9.1010500@gmail.com> (raw)
In-Reply-To: <20060831062558.59948.qmail@web55213.mail.re4.yahoo.com>
References: <20060831062558.59948.qmail@web55213.mail.re4.yahoo.com>

babak badaei wrote:
> OS: Fedora Core 5
> PHP: PHP 5.1.4, PHP 5.1.6, and  PHP 4.4.4 (compiled with --with-pgsql and install as binaries using YUM)
> Postgres 8.1.4
> 
> This scripts works:
> ---------------------------------------------------------------------------------
> <?php
> // Connecting, selecting database
> $dbconn = pg_connect("host=localhost dbname=database user=web")
>    or die('Could not connect: ' . pg_last_error());
> 
> // Performing SQL query
> $query = 'SELECT * FROM foobar limit 16';

<snip>

>  // Performing SQL query
>  $query = 'SELECT * FROM foobar limit 17';

That seems really weird.

If you run those through psql natively what happens?

-- 
Postgresql & php tutorials
http://www.designmagick.com/



view thread (9+ messages)  latest in thread

Message-ID: <44F684B9.1010500@gmail.com>
Permalink:  ../44F684B9.1010500@gmail.com/
Also on:    postgresql.org/message-id/44F684B9.1010500@gmail.com

 · 

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: dmagick@gmail.com, badaei@yahoo.com
  Subject: Re: Postgres 8.1.4 + PHP, hangs when querying more than 16
  In-Reply-To: <44F684B9.1010500@gmail.com>
  References: <20060831062558.59948.qmail@web55213.mail.re4.yahoo.com> <44F684B9.1010500@gmail.com>

* 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