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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2019 The PHP Group
All rights reserved.
Last updated: Tue Jan 22 17:01:25 2019 UTC