PHP. Руководство по PHP. 2005
pg_lo_seek
pg_lo_seek
Описание
bool pg_lo_seek (resource large_object, int offset [, int whence])pg_lo_seek() seeks a position within a large object
resource.
To use the large object interface, it is necessary to
enclose it within a transaction block.
Список параметров
- large_object
-
PostgreSQL large object (LOB) resource, returned by pg_lo_open().
- offset
-
The number of bytes to seek.
- whence
-
One of the constants PGSQL_SEEK_SET (seek from object start),
PGSQL_SEEK_CUR (seek from current position)
or PGSQL_SEEK_END (seek from object end).
Возвращаемые значения
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
Примеры
Смотрите также
pg_lo_tell() |
pg_lo_read
pg_lo_tell
Отвечу на любые вопросы. С уважением, Дмитрий Владимирович.