Josh Kupershmidt <schmiddy(at)gmail(dot)com> writes:
> Incidentally, I was wondering what the heck was up with a clause like this:
> else if (pg_strcasecmp(prev_wd, "EXECUTE") == 0 &&
> pg_strcasecmp(prev2_wd, "EXECUTE") == 0)
Hmm, maybe || was meant not && ? It seems pretty unlikely that the
above test would ever trigger on valid SQL input.
regards, tom lane