HiDoes PostgreSQL have something like Oracle's conditional compilation? This is sort of an if then statement that gets evaluated on compilation/installation time of PL/SQL code. If the condition is met, the code until the $END gets compiled. It is even possible to switch on/off parts of single statements. I suppose it is sort of a preprocessor that removes the code part from $IF until $END if the condition is not met.
Kind regards Thiemo