php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45625 Oops
Submitted: 2008-07-25 13:15 UTC Modified: 2008-07-25 14:58 UTC
From: srabot at steek dot com Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 5.2CVS-2008-07-25 (CVS) OS: Debian Etch stable
Private report: No CVE-ID: None
 [2008-07-25 13:15 UTC] srabot at steek dot com
Description:
------------
I create a temp table in postgres to store big amount of data and avoid LOCKS. Just after I declare a cursor on my table to fetch results.

After a certain amount of MOVE / FETCH I get strange behaviour.

I run :
 * PHP 5.2.0-8+etch11 CLI
 * Postgresql 8.3.3


Reproduce code:
---------------
http://absynthe.pastebin.com/f3a50f01f

Expected result:
----------------
I expect pg_affected_rows($move) to return the same value as $offset.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-25 14:58 UTC] srabot at steek dot com
My mistake.

MOVE query was not nescessary.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sat Jan 22 22:03:37 2022 UTC