X-Original-To: pgsql-php-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 916879FB3A5 for ; Thu, 31 Aug 2006 03:42:15 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 19817-10 for ; Thu, 31 Aug 2006 03:42:06 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by postgresql.org (Postfix) with ESMTP id C06209FB3A4 for ; Thu, 31 Aug 2006 03:42:06 -0300 (ADT) Received: by py-out-1112.google.com with SMTP id d80so596285pyd for ; Wed, 30 Aug 2006 23:42:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Uhp5StNxQK7X6A74uLYIIyWf0TTUvhiuY6wMt01AwPMkbI+5StDnM3m2X8vHQdpr8Q4O97qHIMydaalzMFxs3yUj9RZHrsNdSJ/glweYI6l8LHyvsR5r227H5+1XBDBPrDMQQQ5JP2SC75naoUw1lblTgzLk8h+jQVwWzAfQ9Z8= Received: by 10.35.65.17 with SMTP id s17mr109335pyk; Wed, 30 Aug 2006 23:42:05 -0700 (PDT) Received: from ?10.1.1.24? ( [203.217.18.65]) by mx.gmail.com with ESMTP id 10sm552924nzo.2006.08.30.23.42.04; Wed, 30 Aug 2006 23:42:05 -0700 (PDT) Message-ID: <44F684B9.1010500@gmail.com> Date: Thu, 31 Aug 2006 16:42:01 +1000 From: Chris User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: babak badaei CC: pgsql-php@postgresql.org Subject: Re: Postgres 8.1.4 + PHP, hangs when querying more than 16 References: <20060831062558.59948.qmail@web55213.mail.re4.yahoo.com> In-Reply-To: <20060831062558.59948.qmail@web55213.mail.re4.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.465 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/19 X-Sequence-Number: 3590 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: > --------------------------------------------------------------------------------- > // 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'; > // 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/