Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Here is an updated patch which forces find and rm to come from /bin or
> /usr/bin. Seems safer that way.
createdb and dropdb assume that they should use cp and rm as found in
the postmaster's PATH. I see no good reason why this code shouldn't
behave the same.
regards, tom lane