Comment 1 for bug 683761

Revision history for this message
xrg (xrg) wrote : Re: [Bug 683761] [NEW] [6.0] base_contact "DROP LANGUAGE IF EXISTS plpgsql CASCADE; "

On Wednesday 01 December 2010, you wrote:
> Public bug reported:
>
> IMHO this line should be eliminated - other software installed in the same
> db might need plpgsql and will not work without notice there is no harm
> having the language installed.
>

I will nominate that part of the code for a 5* (five-star) on the WTF scale...

In general, I do like SQL and doing things with it (as opposed to python or
Ruby on Rails over Java over Xen etc.) . But that snippet there is just a very
bad piece of code.