postgresql/src/pl/plperl
Tom Lane ed7eff89fd Guard against using plperl's Makefile without specifying --with-perl.
The $(PERL) macro will be set by configure if it finds perl at all,
but $(perl_privlibexp) isn't configured unless you said --with-perl.
This results in confusing error messages if someone cd's into
src/pl/plperl and tries to build there despite the configure omission,
as reported by Tomas Vondra in bug #6198.  Add simple checks to
provide a more useful report, while not disabling other use of the
makefile such as "make clean".

Back-patch to 9.0, which is as far as the patch applies easily.
2011-09-04 20:07:42 -04:00
..
expected Ensure $_SHARED is declared in the main:: namespace, per bugs #5570 and #5571. 2010-07-27 04:18:31 +00:00
po Translation updates for release 9.0.2 2010-12-13 23:20:00 +02:00
sql Ensure $_SHARED is declared in the main:: namespace, per bugs #5570 and #5571. 2010-07-27 04:18:31 +00:00
.gitignore Some more gitignore cleanups: cover contrib and PL regression test outputs. 2010-09-22 17:22:53 -04:00
GNUmakefile Guard against using plperl's Makefile without specifying --with-perl. 2011-09-04 20:07:42 -04:00
nls.mk Translation updates for release 9.0.2 2010-12-13 23:20:00 +02:00
plc_perlboot.pl Ensure $_SHARED is declared in the main:: namespace, per bugs #5570 and #5571. 2010-07-27 04:18:31 +00:00
plc_trusted.pl Abandon the use of Perl's Safe.pm to enforce restrictions in plperl, as it is 2010-05-13 16:39:43 +00:00
plperl.c Allow building with perl 5.14. 2011-06-04 19:35:04 -04:00
plperl.h Allow building with perl 5.14. 2011-06-04 19:35:04 -04:00
plperl_opmask.pl Abandon the use of Perl's Safe.pm to enforce restrictions in plperl, as it is 2010-05-13 16:39:43 +00:00
ppport.h Upgrade to latest ppport.h. Patch from Tim Bunce. 2009-12-25 00:24:59 +00:00
README More README src cleanups. 2008-03-21 13:23:29 +00:00
SPI.xs Add utility functions to PLPerl: 2010-01-20 01:08:21 +00:00
text2macro.pl Add utility functions to PLPerl: 2010-01-20 01:08:21 +00:00
Util.xs Add utility functions to PLPerl: 2010-01-20 01:08:21 +00:00

$PostgreSQL: pgsql/src/pl/plperl/README,v 1.4 2008/03/21 13:23:29 momjian Exp $

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 'gmake all; gmake 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.