Make LANCOMPILER clause in CREATE LANGUAGE optional. Allow "identifier"
Peter Eisentraut <peter_e@gmx.net>
Make LANCOMPILER clause in CREATE LANGUAGE optional. Allow "identifier" syntax for language names (instead of 'string'). createlang now handles the case where a second language uses the same call handler as an already installed language (e.g., plperl/plperlu). droplang now handles the reverse case, i.e., dropping a language where the call handler is still used by another language. Moreover, droplang can now be used to drop any user-defined language, not just the supplied ones.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/create_function.sgml | modified | +12 −11 |
| doc/src/sgml/ref/create_language.sgml | modified | +9 −21 |
| doc/src/sgml/ref/drop_language.sgml | modified | +5 −4 |
| doc/src/sgml/xplang.sgml | modified | +7 −9 |
| src/backend/parser/gram.y | modified | +12 −8 |
| src/bin/scripts/createlang.sh | modified | +27 −27 |
| src/bin/scripts/droplang | modified | +46 −43 |