Adam Haberlach <adam(at)newsnipple(dot)com> writes:
> First, I had to modify PoPy.h so that it would not include
> <postgres.h> and <catalog/pg_type.h>, which don't seem to be
> moved into the normal include path by the install.
See "make install-all-headers". You definitely need pg_type.h
for those constants.
This line looks pretty darn fragile:
ftype = (ftype>1000 && ftype < 1028?PG_ARRAY:ftype);
A hardwired test on type OID range might or might not be wrong today,
but it will assuredly be wrong in future.
regards, tom lane