strk <strk(at)keybit(dot)net> 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