2010/5/23 郭家成 <[email protected]> > Hi Mike, > Thanks for your reply, but it still doesn't work. > The key point possibly lies in *Oid paramtypes[1]={0}*, > Where can I find the ParamType of Geometry or Bytea? >
They are defined in the system tables: select oid, * from pg_type where typname='geometry' or typname='bytea'; I'm not sure if the oid for geometry is constant with different installations (mine is 16892). Bytea is always 17, since it is hard-coded in src/include/catalog/pg_type.h -Mike
_______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
