Документ взят из кэша поисковой машины. Адрес оригинального документа : http://oit.cmc.msu.ru/php/function.pg-fieldsize.html
Дата изменения: Sun Feb 3 22:53:05 2002
Дата индексирования: Mon Oct 1 21:43:09 2012
Кодировка:
pg_fieldsize

pg_fieldsize

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

pg_fieldsize --  Returns the internal storage size of the named field

Description

int pg_fieldsize ( resource result, int field_number)

pg_fieldsize() returns the internal storage size (in bytes) of the field number in the given PostgreSQL result. Field numbering starts at 0. A field size of -1 indicates a variable length field. This function will return FALSE on error.

See also pg_fieldlen() and pg_fieldtype().