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
 [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

Pull Requests

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: Thu Oct 31 23:01:28 2024 UTC