Peter Eisentraut <[EMAIL PROTECTED]> writes: > Is there any way to create the language and not use the template (an > override option of some kind)?
There is deliberately not a way to override (other than using a different name for the PL). One of the points of this facility is to fix up broken PL definitions being imported from old dump files, so believing what the CREATE LANGUAGE command says is exactly what we don't want. This will definitely be more palatable with a system catalog that you could alter, of course. Still, I don't see that there's any big problem. For instance, if you think you might want a validator later, you can set up a no-op validator procedure today, and then the template doesn't need to change when you make the validator do something. Similarly, you could future-proof yourself against adding a trusted (or untrusted) variant by putting in some stubs now. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match