On Mon, Jul 02, 2007 at 10:44:55AM -0700, Eric wrote:
> I guess you can also get this before writing code from
> 
> select typbyval from pg_type where typname='mytype'

Note that the flag might not be constant. For example int8 is not byval
currently whereas it could be on a 64-bit architecture. However,
variable-length values are always byref.

Have a nice day,
-- 
Martijn van Oosterhout   <[EMAIL PROTECTED]>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to 
> litigate.

Attachment: signature.asc
Description: Digital signature

Reply via email to