ID:          32876
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
 Status:      Open
 Bug Type:    Documentation problem
 PHP Version: Irrelevant
 New Comment:

Same on pg-lo-tell.xml

// Skip first 10000 bytes

->
// Skip first 50000 bytes


Previous Comments:
------------------------------------------------------------------------

[2005-04-28 21:33:29] [EMAIL PROTECTED]

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);




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32876&edit=1

Reply via email to