pg_field_size
Description
int pg_field_size ( resource result, int field_number )
pg_field_size() returns the internal storage
size (in bytes) of the field number in the given PostgreSQL
result.
Note: This function used to be called pg_fieldsize().
Parameters
resultPostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).
field_numberField number, starting from 0.
Return Values
The internal field storage size (in bytes). -1 indicates a variable length field. FALSE is returned on error.
Examples
