pg_field_size
Returns the internal storage size of the named field
&reftitle.description;
intpg_field_size
resourceresult
intfield_number
pg_field_size returns the internal storage
size (in bytes) of the field number in the given PostgreSQL
result.
This function used to be called pg_fieldsize.
&reftitle.parameters;
result
PostgreSQL query result resource, returned by pg_query,
pg_query_params or pg_execute
(among others).
field_number
Field number, starting from 0.
&reftitle.returnvalues;
The internal field storage size (in bytes). -1 indicates a variable
length field. &false; is returned on error.
&reftitle.examples;
Getting information about fields
]]>
&example.outputs;
&reftitle.seealso;
pg_field_prtlen
pg_field_type