I just did the NULL object thing since that's a simpler version of what the oracle module does (or maybe it only does that for big_typed_query, I didn't look too closely). Anyhow, here's a patch to get postgres to behave correctly for NULL values then. (It returns "" instead of 0 right now).
On Thu, 19 Jan 2006 18:55:16 +0000 (UTC) "Henrik Grubbstr_m (Lysator) @ Pike (-) developers forum" 10353@lyskom.lysator.liu.se wrote:
The standard pike API ({big_,}query()) for databases uses strings for values and zero for NULL. The optional API big_typed_query() uses objects for most values.