php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1630 pg_fetch_array broken?
Submitted: 1999-06-30 01:31 UTC Modified: 1999-06-30 02:13 UTC
From: P dot deVries at cable dot a2000 dot nl Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 3.0.11 OS: Linux kernel 2.2.10
Private report: No CVE-ID: None
 [1999-06-30 01:31 UTC] P dot deVries at cable dot a2000 dot nl
After upgrading from 3.0.8 to 3.0.11, pg_fetch_array doesn't
seem to work anymore. I get the message "Document contains
no data". Switching to pg_result($result,$row,"field")
solved the problem for me.

BTW, the same goes for pg_fetch_row.

Modules: --with-pgsql --enable-debug=no

Setup: Apache 1.3.6
       mod_ssl 2.3.5 / openssl 0.9.3a
       php 3.0.11

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-30 02:13 UTC] sas at cvs dot php dot net
Please use the search function before you submit a new bug report. We've seen this already multiple times.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat May 25 20:01:27 2019 UTC