php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #339 Documentation error for pg_loread(), pg_lowrite()
Submitted: 1998-05-02 21:54 UTC Modified: 1998-05-03 01:32 UTC
From: morten at ngb dot se Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0 Release Candidate 4 OS: linux 2.0.33
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: morten at ngb dot se
New email:
PHP Version: OS:

 

 [1998-05-02 21:54 UTC] morten at ngb dot se
Postgresql functions for handling large objects pg_loread() 
and pg_lowrite() take only two parameters, though the manual
suggests three; the last parameter 'int len' should not be
used.

pg_lowrite(int fd, string buf) works but

pg_lowrite(int fd, string buf, int len) gives a
'wrong parameter count' error.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-03 01:32 UTC] eschmid
Both take two arguments. Droped the last argument in both functions.
Thanks for reporting the bug. Is now corrected in the CVS

-Egon
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jun 03 00:01:26 2025 UTC