Commit Graph

109 Commits (a38c09f43dabbdb7545df7a8c705887b9274e654)

Author SHA1 Message Date
Tom Lane a38c09f43d Use SvROK(sv) rather than directly checking SvTYPE(sv) == SVt_RV in plperl. 16 years ago
Heikki Linnakangas 56a87f2721 Previous fix for temporary file management broke returning a set from 16 years ago
Andrew Dunstan fa990959f4 Convert a perl array to a postgres array when returned by Set Returning Functions as well as non SRFs. Backpatch to 8.1 where these facilities were introduced. with a little help from Abhijit Menon-Sen. 16 years ago
Andrew Dunstan b3452713ff Adjust recent PERL_SYS_INIT3 call to avoid platforms where it might fail, and to remove compilation warning. Backpatch the release 7.4 17 years ago
Andrew Dunstan 64a4c69fbb Initialise perl library as documented in perl API. Backpatch to release 7.4. 17 years ago
Andrew Dunstan 08cf8603cf Work around for perl 5.10 bug - fix due to perl hacker Simon Cozens. 18 years ago
Tom Lane 3c92d5fdd9 Suppress compiler warnings in recent plperl patch. Avoid uselessly expensive 18 years ago
Andrew Dunstan 63276b7f6c Workaround for perl problem where evaluating UTF8 regexes can cause 18 years ago
Tom Lane 80848c001d Prevent Perl from introducing a possibly-incompatible definition of type 18 years ago
Tom Lane ed368c1b8e Fix incorrect tests for undef Perl values in some places in plperl.c. 19 years ago
Andrew Dunstan 18d6948858 Undo perl's nasty locale setting on Windows. Since we can't do that as 20 years ago
Neil Conway 81dbda0792 Per a bug report from Theo Schlossnagle, plperl_return_next() leaks 20 years ago
Tom Lane 7b3d9367b4 Repair problems with the result of lookup_rowtype_tupdesc() possibly being 20 years ago
Andrew Dunstan ed47146f1e Stop perl from hijacking stdio and other stuff on Windows. 20 years ago
Bruce Momjian bef7764835 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Tom Lane 800af89004 Code review for spi_query/spi_fetchrow patch: handle errors sanely, 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane 6f64cf592b Get rid of inappropriate use of croak(). Per report from Michael Fuhr. 21 years ago
Tom Lane a62604508f Fix up plperl 'use_strict' so that it can be enabled or disabled on the 21 years ago
Tom Lane 2299ceab1c Invoke mksafefunc and mkunsafefunc with :: decoration. This seems a good 21 years ago
Tom Lane 65790b9e01 Un-break plperl for non-set case. 21 years ago
Bruce Momjian abc8a0a0fe More rsi assignment line too. 21 years ago
Bruce Momjian 60672b59b8 > The attached patch moves a plperl sanity check into the correct 21 years ago
Tom Lane 2d481b31af Fix plperl crash with list value return for an array result type. 21 years ago
Tom Lane 220e6bfc53 Fix plperl to do recursion safely, and fix a problem with array results. 21 years ago
Bruce Momjian e8a3e6b8a0 Rename xmalloc to pg_malloc for consistency with psql usage. 21 years ago
Bruce Momjian b135508c98 Following up a previous thought I had, yesterday I realised how to 21 years ago
Bruce Momjian 6d92f2106f The attached patch implements spi_query() and spi_fetchrow() functions 21 years ago
Bruce Momjian eefdbba062 Currently, nonfatal warnings are not trapped (as they should be) by 21 years ago
Bruce Momjian 77838f7380 Currently, nonfatal warnings are not trapped (as they should be) by 21 years ago
Tom Lane bee9aef43b Fix memory leak in plperl_hash_from_tuple(), per report from Jean-Max Reymond. 21 years ago
Tom Lane 84d73a6dbc Add a validator function for plperl. Andrew Dunstan 21 years ago
Bruce Momjian d092524418 > Here's a patch I added against plperl, originally against beta5, now 21 years ago
Bruce Momjian bebe7c5600 Here's a patch to do the following: 21 years ago
Bruce Momjian d995014fac At 2005-05-21 20:18:50 +0530, ams@oryx.com wrote: 21 years ago
Neil Conway 353f111f98 Fix typo in PL/Perl Safe.pm initialization that prevented the proper 21 years ago
Tom Lane 278bd0cc22 For some reason access/tupmacs.h has been #including utils/memutils.h, 21 years ago
Tom Lane 6c412f0605 Change CREATE TYPE to require datatype output and send functions to have 21 years ago
Tom Lane 06fb6105f5 Make plperl work with OUT parameters. 21 years ago
Tom Lane 70c9763d48 Convert oidvector and int2vector into variable-length arrays. This 21 years ago
Bruce Momjian e3267b6517 Properly undef _(x) gettext macro. 21 years ago
Bruce Momjian 0542b1e2fe Use _() macro consistently rather than gettext(). Add translation 21 years ago
Tom Lane ce6e2fada0 plperl trigger handler tried to fetch new/old tuples even when fired 21 years ago
Tom Lane e24801654a plperl was not being quite paranoid enough about detecting 'undef' values 21 years ago
Tom Lane af434fcdf4 Update plperl to use ereport() not elog() for user-facing messages, 21 years ago
Tom Lane 5597fee8d7 Avoid getting bit by roundoff error while checking $Safe::VERSION. 21 years ago
Tom Lane 28e9b26f4d Further plperl cleanup: be more paranoid about checking the type of 21 years ago
Tom Lane f5206262c8 Try to instill some sanity in plperl's function result processing. 21 years ago
Tom Lane 32c97fd58f Suppress remaining compile warnings, and add a comment about why 21 years ago
Tom Lane 35f4994133 Fix plperl and pltcl error handling per my previous proposal. SPI 21 years ago