On Mon, Aug 23, 2004 at 03:20:09PM -0400, Tom Lane wrote: > strk <[EMAIL PROTECTED]> writes: > > Is returning a pointer to the input safe in every case ? > > You mean for returning *unmodified* input, don't you? > > Yes, that's safe. Scribbling on input values is definitely never safe. > > regards, tom lane
I meant scribbling actually. Would PG_DETOAST_DATUM_COPY() make it safe then ? --strk; ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])