From 8d35c2f933ce703648a0d158a3ef6675c20ca84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20Goupil?= Date: Thu, 28 Apr 2005 21:25:08 +0000 Subject: [PATCH] fixed bug #32876 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185396 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pgsql/functions/pg-lo-seek.xml | 6 +++--- reference/pgsql/functions/pg-lo-tell.xml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/reference/pgsql/functions/pg-lo-seek.xml b/reference/pgsql/functions/pg-lo-seek.xml index 350df5e428..a7476caeb8 100644 --- a/reference/pgsql/functions/pg-lo-seek.xml +++ b/reference/pgsql/functions/pg-lo-seek.xml @@ -1,5 +1,5 @@ - + @@ -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; diff --git a/reference/pgsql/functions/pg-lo-tell.xml b/reference/pgsql/functions/pg-lo-tell.xml index 7f8626cd84..4b5679cc9d 100644 --- a/reference/pgsql/functions/pg-lo-tell.xml +++ b/reference/pgsql/functions/pg-lo-tell.xml @@ -1,5 +1,5 @@ - + @@ -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);