Thread: VARHDRSZ

VARHDRSZ

From
Christopher Kings-Lynne
Date:
Hi guys,

For formatting types pre-7.1, how do I know what the value of VARHDRSZ
is?  (Given that it's a PHP script, say.)

I need to be able to subtract that from the typmod to get the field length.

Is it possible?

Chris



Re: VARHDRSZ

From
Tom Lane
Date:
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> For formatting types pre-7.1, how do I know what the value of VARHDRSZ
> is?  (Given that it's a PHP script, say.)

It's 4.
        regards, tom lane