← Back to team overview

c2c-oerpscenario team mailing list archive

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.

-- 
[6.0] base_contact "DROP LANGUAGE  IF EXISTS  plpgsql CASCADE;"
https://bugs.launchpad.net/bugs/683761
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

Bug description:
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.





References