Peter Eisentraut <[EMAIL PROTECTED]> writes: > I was wondering whether, as a future project, we could make this more > convenient by parsing the body of the function with the binding of the > function already in effect.
Seems like a simple rearrangement of the code. First insert the pg_proc entry, then CommandCounterIncrement, then do the parsing/checking of the function body. Given the CCI, the new entry will be visible for the checking --- and if we error out, it rolls back just fine anyway. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])