cvs: phpdoc /en/reference/pgsql/functions pg-lo-seek.xml pg-lo-tell.xml

From: Date: Thu, 28 Apr 2005 21:25:09 +0000
Subject: cvs: phpdoc /en/reference/pgsql/functions pg-lo-seek.xml pg-lo-tell.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969368076@lists.php.net to get a copy of this message
jsgoupil Thu Apr 28 17:25:09 2005 EDT Modified files: /phpdoc/en/reference/pgsql/functions pg-lo-tell.xml pg-lo-seek.xml Log: fixed bug #32876 http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-lo-tell.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/pgsql/functions/pg-lo-tell.xml diff -u phpdoc/en/reference/pgsql/functions/pg-lo-tell.xml:1.5 phpdoc/en/reference/pgsql/functions/pg-lo-tell.xml:1.6 --- phpdoc/en/reference/pgsql/functions/pg-lo-tell.xml:1.5 Wed Apr 13 23:21:36 2005 +++ phpdoc/en/reference/pgsql/functions/pg-lo-tell.xml Thu Apr 28 17:25:08 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.74 --> <refentry id='function.pg-lo-tell'> <refnamediv> @@ -61,7 +61,7 @@ $database = pg_connect("dbname=jacarta"); pg_query($database, "begin"); $handle = pg_lo_open($database, $doc_oid, "r"); - // Skip first 10000 bytes + // Skip first 50000 bytes pg_lo_seek($handle, 50000, PGSQL_SEEK_SET); // See how far we've skipped $offset = pg_lo_tell($handle); http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-lo-seek.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/pgsql/functions/pg-lo-seek.xml diff -u phpdoc/en/reference/pgsql/functions/pg-lo-seek.xml:1.6 phpdoc/en/reference/pgsql/functions/pg-lo-seek.xml:1.7 --- phpdoc/en/reference/pgsql/functions/pg-lo-seek.xml:1.6 Wed Apr 13 23:21:36 2005 +++ phpdoc/en/reference/pgsql/functions/pg-lo-seek.xml Thu Apr 28 17:25:08 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 --> <refentry id='function.pg-lo-seek'> <refnamediv> @@ -80,9 +80,9 @@ $database = pg_connect("dbname=jacarta"); pg_query($database, "begin"); $handle = pg_lo_open($database, $doc_oid, "r"); - // Skip first 10000 bytes + // Skip first 50000 bytes pg_lo_seek($handle, 50000, PGSQL_SEEK_SET); - // Read the next 50000 bytes + // Read the next 10000 bytes $data = pg_lo_read($handle, 10000); pg_query($database, "commit"); echo $data;

« previous php.doc (#969368076) next »