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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: srabot at steek dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 11:01:34 2025 UTC