postgresql/src/pl/plpython
Tom Lane f90149e628 Don't use custom OID symbols in pg_type.dat, either.
On the same reasoning as in commit 36b931214, forbid using custom
oid_symbol macros in pg_type as well as pg_proc, so that we always
rely on the predictable macro names generated by genbki.pl.

We do continue to grant grandfather status to the names CASHOID and
LSNOID, although those are now considered deprecated aliases for the
preferred names MONEYOID and PG_LSNOID.  This is because there's
likely to be client-side code using the old names, and this bout of
neatnik-ism doesn't quite seem worth breaking client code.

There might be a case for grandfathering EVTTRIGGEROID, too, since
externally-maintained PLs may reference that symbol.  But renaming
such references to EVENT_TRIGGEROID doesn't seem like a particularly
heavy lift --- we make far more significant backend API changes in
every major release.  For now I didn't add that, but we could
reconsider if there's pushback.

The other names changed here seem pretty unlikely to have any outside
uses.  Again, we could add alias macros if there are complaints, but
for now I didn't.

As before, no need for a catversion bump.

John Naylor

Discussion: https://postgr.es/m/CAFBsxsHpCbjfoddNGpnnnY5pHwckWfiYkMYSF74PmP1su0+ZOw@mail.gmail.com
2020-10-29 13:33:38 -04:00
..
expected Support for OUT parameters in procedures 2020-10-05 09:21:43 +02:00
po Translation updates 2020-05-18 12:49:30 +02:00
sql Support for OUT parameters in procedures 2020-10-05 09:21:43 +02:00
.gitignore PL/Python: Improve Python 3 regression test setup 2012-09-16 22:26:33 -04:00
generate-spiexceptions.pl Fix a few more generator scripts to produce pgindent-clean output. 2020-09-21 13:58:26 -04:00
Makefile Remove support for upgrading extensions from "unpackaged" state. 2020-02-19 16:59:14 -05:00
nls.mk Translation updates 2020-05-11 13:14:32 +02:00
plpy_cursorobject.c Clear some style deviations. 2020-05-21 08:31:16 -07:00
plpy_cursorobject.h Make PL/Python handle domain-type conversions correctly. 2017-11-16 16:23:04 -05:00
plpy_elog.c Fixup some appendStringInfo and appendPQExpBuffer calls 2020-10-15 20:35:17 +13:00
plpy_elog.h Fix assorted header files that failed to compile standalone. 2019-05-31 11:45:33 -04:00
plpy_exec.c Make the order of the header file includes consistent. 2019-11-25 08:08:57 +05:30
plpy_exec.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
plpy_main.c Remove the "opaque" pseudo-type and associated compatibility hacks. 2020-03-05 15:48:56 -05:00
plpy_main.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
plpy_planobject.c Clear some style deviations. 2020-05-21 08:31:16 -07:00
plpy_planobject.h Make PL/Python handle domain-type conversions correctly. 2017-11-16 16:23:04 -05:00
plpy_plpymodule.c Fix -Wcast-function-type warnings 2020-07-14 19:55:25 +02:00
plpy_plpymodule.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
plpy_procedure.c Don't use custom OID symbols in pg_type.dat, either. 2020-10-29 13:33:38 -04:00
plpy_procedure.h SQL procedures 2017-11-30 11:03:20 -05:00
plpy_resultobject.c Clear some style deviations. 2020-05-21 08:31:16 -07:00
plpy_resultobject.h Fix assorted header files that failed to compile standalone. 2019-05-31 11:45:33 -04:00
plpy_spi.c Make the order of the header file includes consistent. 2019-11-25 08:08:57 +05:30
plpy_spi.h Make the order of the header file includes consistent. 2019-11-25 08:08:57 +05:30
plpy_subxactobject.c Clear some style deviations. 2020-05-21 08:31:16 -07:00
plpy_subxactobject.h Make the order of the header file includes consistent. 2019-11-25 08:08:57 +05:30
plpy_typeio.c Tidy up error reporting when converting PL/Python arrays. 2020-10-02 18:23:39 +03:00
plpy_typeio.h Make the order of the header file includes consistent. 2019-11-25 08:08:57 +05:30
plpy_util.c Make the order of the header file includes consistent. 2019-11-25 08:08:57 +05:30
plpy_util.h Fix assorted header files that failed to compile standalone. 2019-05-31 11:45:33 -04:00
plpython.h Remove support for Python older than 2.6 2020-01-08 22:47:22 +01:00
plpython2u--1.0.sql Invent "trusted" extensions, and remove the pg_pltemplate catalog. 2020-01-29 18:42:43 -05:00
plpython2u.control Create extension infrastructure for the core procedural languages. 2011-03-04 21:51:14 -05:00
plpython3u--1.0.sql Invent "trusted" extensions, and remove the pg_pltemplate catalog. 2020-01-29 18:42:43 -05:00
plpython3u.control Create extension infrastructure for the core procedural languages. 2011-03-04 21:51:14 -05:00
plpythonu--1.0.sql Invent "trusted" extensions, and remove the pg_pltemplate catalog. 2020-01-29 18:42:43 -05:00
plpythonu.control Create extension infrastructure for the core procedural languages. 2011-03-04 21:51:14 -05:00
regress-python3-mangle.mk Modernize Python exception syntax in tests 2020-01-08 22:47:22 +01:00