I'm pondering, once again, more things with the Postgres interface. In this case I need to pass in arrays of ints (and floats, I suppose) and arrays of char pointers. My first thought is to have a new type that converts an Array (or something like it) to a C array, either of ints or char pointers. That'd solve my problem quite nicely. But... that begs the question--is it going too far? Is this the sort of stuff that ought to have custom C interfaces for, rather than adding in Yet More Types to the NCI interface?

I'm open to comments here. I can see it going both ways.
--
                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to