I could assign it to a variable, but won't the compiler just optimize that away?
//Magnus Robert Haas wrote: > Looks good to me, except for a somewhat excessive number of calls to > strlen() on the same input data. > > ...Robert > > On Mon, Dec 1, 2008 at 10:31 AM, Magnus Hagander <[EMAIL PROTECTED]> wrote: >> Magnus Hagander wrote: >>> I think I agree with the idea that we should match wildcards only at the >>> beginning of the name *for now*, and then see what people actually >>> request :-) I'm less sure about the single-pathname-component part, but >>> the argument around backwards compatible is certainly a very valid one.. >> Here's one that (I think) does that. For every step, the code becomes >> simpler - which I like when it comes to security code :) >> >> //Magnus >> >> -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers