Create the pg_pltemplate system catalog to hold template information
Tom Lane <tgl@sss.pgh.pa.us>
Create the pg_pltemplate system catalog to hold template information for procedural languages. This replaces the hard-wired table I had originally proposed as a stopgap solution. For the moment, the initial contents only include languages shipped with the core distribution.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/catalogs.sgml | modified | +106 −1 |
| doc/src/sgml/ref/createlang.sgml | modified | +3 −5 |
| doc/src/sgml/ref/create_language.sgml | modified | +17 −20 |
| src/backend/catalog/Makefile | modified | +4 −3 |
| src/backend/commands/functioncmds.c | modified | +4 −9 |
| src/backend/commands/proclang.c | modified | +89 −50 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/indexing.h | modified | +7 −4 |
| src/include/catalog/pg_pltemplate.h | added | +78 −0 |
| src/include/commands/proclang.h | modified | +1 −0 |
| src/test/regress/expected/sanity_check.out | modified | +2 −1 |