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