[postgis-devel] How to check data types

Bryce L Nordgren bnordgren at gmail.com
Fri Sep 16 10:44:12 PDT 2011

Anyone know how to check what kind of data is being passed into my C
functions from the SQL layer? I want to accept an array of integers. I
understand I use the macro ARR_ELEMTYPE() to get the type of each
element, but how do I find out what the type code for "int" (or int4)


More information about the postgis-devel mailing list