I originally thought that the enum in include/ecpgtype.h was the place to go, but no joy there -- those numbers weren't right. (Or at least they threw errors) So instead I tried src/include/catalog/pg_type.h for the type numbers. (Which seemed a better bet, as the docs for PQftype say to reference this file) Unfortunately this isn't working either. I'm trying to use these base type numbers:
text data: 1043
numbers: 1700
dates: 1082which correspond to the VARCHAROID, NUMERICOID, and DATEOID constants. It *seems* right, but when I do I get back the error:
DB error is: ERROR: unsupported format code: 1043
I'm at a bit of a loss right now. What *should* I be using here? (Or is there something simple that I'm missing?)
--
Dan
--------------------------------------it's like this-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly
