VARHDRSZ

Started by Christopher Kings-Lynneover 22 years ago2 messageshackers
Jump to latest
#1Christopher Kings-Lynne
chriskl@familyhealth.com.au

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Christopher Kings-Lynne (#1)
Re: VARHDRSZ

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