postgresql/src/pl/plperl
Tom Lane 48e7971643 Hide warnings from Python headers when using gcc-compatible compiler.
Like commit 388e80132, use "#pragma GCC system_header" to silence
warnings appearing within the Python headers, since newer Python
versions no longer worry about some restrictions we still use like
-Wdeclaration-after-statement.

This patch improves on 388e80132 by inventing a separate wrapper
header file, allowing the pragma to be tightly scoped to just
the Python headers and not other stuff we have laying about in
plpython.h.  I applied the same technique to plperl for the same
reason: the original patch suppressed warnings for a good deal
of our own code, not only the Perl headers.

Like the previous commit, back-patch to supported branches.

Peter Eisentraut and Tom Lane

Discussion: https://postgr.es/m/ae523163-6d2a-4b81-a875-832e48dec502@eisentraut.org
2023-12-26 16:16:29 -05:00
..
expected Tighten array dimensionality checks in Perl -> SQL array conversion. 2023-04-29 13:06:44 -04:00
po Translation updates 2023-05-08 14:36:07 +02:00
sql Tighten array dimensionality checks in Perl -> SQL array conversion. 2023-04-29 13:06:44 -04:00
.gitignore Allow make check in PL directories 2011-02-15 06:52:12 +02:00
GNUmakefile Hide warnings from Python headers when using gcc-compatible compiler. 2023-12-26 16:16:29 -05:00
nls.mk Translation updates 2020-09-14 13:14:53 +02:00
plc_perlboot.pl Use perl warnings pragma consistently 2020-04-13 11:55:45 -04:00
plc_trusted.pl Clean up some perlcritic warnings 2018-05-07 15:35:32 -04:00
plperl--1.0.sql Invent "trusted" extensions, and remove the pg_pltemplate catalog. 2020-01-29 18:42:43 -05:00
plperl.c Tighten array dimensionality checks in Perl -> SQL array conversion. 2023-04-29 13:06:44 -04:00
plperl.control Invent "trusted" extensions, and remove the pg_pltemplate catalog. 2020-01-29 18:42:43 -05:00
plperl.h Hide warnings from Python headers when using gcc-compatible compiler. 2023-12-26 16:16:29 -05:00
plperl_helpers.h Fix assorted header files that failed to compile standalone. 2019-05-31 11:45:33 -04:00
plperl_opmask.pl Use perl warnings pragma consistently 2020-04-13 11:55:45 -04:00
plperl_system.h Hide warnings from Python headers when using gcc-compatible compiler. 2023-12-26 16:16:29 -05:00
plperlu--1.0.sql Invent "trusted" extensions, and remove the pg_pltemplate catalog. 2020-01-29 18:42:43 -05:00
plperlu.control Create extension infrastructure for the core procedural languages. 2011-03-04 21:51:14 -05:00
ppport.h Remove ppport.h's broken re-implementation of eval_pv(). 2022-02-08 19:26:17 -05:00
README Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
SPI.xs Clean up PL/Perl's handling of the _() macro. 2019-06-02 12:23:39 -04:00
text2macro.pl Don't fall off the end of perl functions 2018-05-27 09:08:42 -04:00
Util.xs Clean up PL/Perl's handling of the _() macro. 2019-06-02 12:23:39 -04:00

src/pl/plperl/README

PL/Perl allows you to write PostgreSQL functions and procedures in
Perl.  To include PL/Perl in the build use './configure --with-perl'.
To build from this directory use 'make all; make install'.  libperl
must have been built as a shared library, which is usually not the
case in standard installations.

Consult the PostgreSQL User's Guide and the INSTALL file in the
top-level directory of the source distribution for more information.