php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #32876 [DOC] English : Switch comment
Submitted: 2005-04-28 21:33 UTC Modified: 2005-04-28 23:25 UTC
From: jsgoupil@php.net Assigned: jsgoupil (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
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: jsgoupil@php.net
New email:
PHP Version: OS:

 

 [2005-04-28 21:33 UTC] jsgoupil@php.net
Description:
------------
In reference/pgsql/functions/pg-lo-seek.xml

It seems that the comment bytes are inversed.

   // Skip first 10000 bytes
   pg_lo_seek($handle, 50000, PGSQL_SEEK_SET);
   // Read the next 50000 bytes
   $data = pg_lo_read($handle, 10000);

Should be

   // Skip first 50000 bytes
   pg_lo_seek($handle, 50000, PGSQL_SEEK_SET);
   // Read the next 10000 bytes
   $data = pg_lo_read($handle, 10000);



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-28 21:37 UTC] jsgoupil@php.net
Same on pg-lo-tell.xml

// Skip first 10000 bytes

->
// Skip first 50000 bytes
 [2005-04-28 22:51 UTC] derick@php.net
You have karma to fix this yourself.... so please do.
 [2005-04-28 23:25 UTC] jsgoupil@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:11 UTC] phpdocbot@php.net
Automatic comment on behalf of jsgoupil
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=8d35c2f933ce703648a0d158a3ef6675c20ca84b
Log: fixed bug #32876
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 02:01:32 2024 UTC