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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 13:01:30 2024 UTC