Re: Now/current_date and proleakproof

2018-11-17 Thread Tom Lane
Rod Taylor writes: > So it's the timestamp_%_timestamptz operator functions that are missing the > flag? I think those are not marked leakproof because they aren't leakproof; they can throw errors for some inputs, or at least the required conversions invoke enough code that it's hard to be sure t

Re: Now/current_date and proleakproof

2018-11-17 Thread Rod Taylor
On Sat, 17 Nov 2018 at 14:32, Tom Lane wrote: > Rod Taylor writes: > > Should now/current_date be marked leakproof? > > Since it has no argument, that should be moot. > Gah, you're right. It seems to be because the below clause is timestamp without time zone: WHERE current_date - interval '1 d

Re: Now/current_date and proleakproof

2018-11-17 Thread Tom Lane
Rod Taylor writes: > Should now/current_date be marked leakproof? Since it has no argument, that should be moot. regards, tom lane