Commit Graph

731 Commits (41fd96928968c4e7ccececb3a3e013f2521bb6cd)

Author SHA1 Message Date
Tom Lane 1f5e6cd905 Fix assorted issues with build and install paths containing spaces. 15 years ago
Andrew Dunstan f604891a06 Allow building with perl 5.14. 15 years ago
Alvaro Herrera 151e463c91 Fix PL/Python memory leak involving array slices 15 years ago
Andrew Dunstan f2f63551cd Backpatch plperl GNUmakefile fixes to allow building release 8.2 on Mingw with a modern perl. 15 years ago
Tom Lane 0c6c5b8a2d Fix aboriginal mistake in plpython's set-returning-function support. 15 years ago
Tom Lane 2487e8d8c8 Fix plpgsql's handling of "simple" expression evaluation. 15 years ago
Tom Lane 7203065dc9 Use a separate interpreter for each calling SQL userid in plperl and pltcl. 16 years ago
Tom Lane 4b00e13707 Some more gitignore cleanups: cover contrib and PL regression test outputs. 16 years ago
Magnus Hagander 1f2378b1ea Convert cvsignore to gitignore, and add .gitignore for build targets. 16 years ago
Peter Eisentraut b64f3bcf72 Catch null pointer returns from PyCObject_AsVoidPtr and PyCObject_FromVoidPtr 16 years ago
Tom Lane 06421ecd4d Fix incorrect logic in plpgsql for cleanup after evaluation of non-simple 16 years ago
Heikki Linnakangas 9e3a7f50e4 The previous fix in CVS HEAD and 8.4 for handling the case where a cursor 16 years ago
Andrew Dunstan de92494704 > Follow up a visit from the style police. 16 years ago
Tom Lane 650d950efc Prevent PL/Tcl from loading the "unknown" module from pltcl_modules unless 16 years ago
Andrew Dunstan 64a42a2af8 Abandon the use of Perl's Safe.pm to enforce restrictions in plperl, as it is 16 years ago
Tom Lane d20f503a28 Fix multiple memory leaks in PLy_spi_execute_fetch_result: it would leak 16 years ago
Andrew Dunstan cefc04c24f Sync perl's ppport.h on all branches back to 7.4 with recent update on HEAD, ensuring we can build older branches with modern Perl installations. 16 years ago
Tom Lane 62513c3e55 Use SvROK(sv) rather than directly checking SvTYPE(sv) == SVt_RV in plperl. 16 years ago
Tom Lane aff66ef113 Volatile-ize all five places where we expect a PG_TRY block to restore 16 years ago
Tom Lane c53917dc66 Don't choke when exec_move_row assigns a synthesized null to a column 16 years ago
Andrew Dunstan 51e24cc249 Free reference in correct Perl context. Backpatch to release 8.2. Patch from Tim Bunce. 16 years ago
Tom Lane 04cec1a95b Apply Tcl_Init() to the "hold" interpreter created by pltcl. 16 years ago
Heikki Linnakangas 31c88772c8 Previous fix for temporary file management broke returning a set from 16 years ago
Tom Lane d4d4e95030 Fix session-lifespan memory leak when a plperl function is redefined: 16 years ago
Peter Eisentraut db925b1a3c Fix obscure segfault condition in PL/Python 16 years ago
Tom Lane 3753017a20 Ensure the previous Perl interpreter selection is restored upon exit from 16 years ago
Andrew Dunstan 3bf3527fe0 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. 17 years ago
Andrew Dunstan 1236e18563 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 7920e7cc7f Initialise perl library as documented in perl API. Backpatch to release 7.4. 17 years ago
Tom Lane c1b0788a9a plpgsql's exec_simple_cast_value() mistakenly supposed that it could bypass 17 years ago
Heikki Linnakangas faa0b6043b Set isnull for errm and sqlstate local variables when they're free'd. Because 17 years ago
Tom Lane 9692582610 Fix plpgsql to not treat INSERT INTO as an INTO-variables clause anywhere 17 years ago
Heikki Linnakangas 963b87c50b Remove broken Assertions that failed if a statement executed in PL/pgSQL is 17 years ago
Tom Lane c23bd9232f Insert conditional SPI_push/SPI_pop calls into InputFunctionCall, 17 years ago
Tom Lane 68909e70f7 Fix overly tense optimization of PLpgSQL_func_hashkey: we must represent 18 years ago
Tom Lane d22e47dba8 Fix plpgsql's exec_move_row() to supply valid type OIDs to exec_assign_value() 18 years ago
Tom Lane b5ea5e2f1c Clean up a number of bogosities around pltcl's handling of the Tcl "result": 18 years ago
Andrew Dunstan 95ad82793d Work around for perl 5.10 bug - fix due to perl hacker Simon Cozens. 18 years ago
Tom Lane 65d1c2dc33 Fix plpython's overoptimistic caching of information about the rowtype of 18 years ago
Tom Lane 5aa57951db Suppress compiler warnings in recent plperl patch. Avoid uselessly expensive 18 years ago
Andrew Dunstan d36795142e Workaround for perl problem where evaluating UTF8 regexes can cause 18 years ago
Alvaro Herrera 5a0270a403 Fix buggy usage of vsnprintf in PL/Python by removing it altogether, instead 18 years ago
Tom Lane b974b5f223 Prevent Perl from introducing a possibly-incompatible definition of type 18 years ago
Tom Lane 9632b06ec7 Back-patch some plpython patches previously made only in HEAD: changes of 19 years ago
Tom Lane 75cfea7f00 Fix uninitialized-memory bug in plpython proargnames patch. Per bug #3523 19 years ago
Tom Lane 973e33dae7 Fix incorrect tests for undef Perl values in some places in plperl.c. 19 years ago
Tom Lane 266a0ffe45 Fix plpgsql to avoid reference to already-freed memory when returning a 19 years ago
Tom Lane d1be38cc7d Fix an ancient logic error in plpgsql's exec_stmt_block: it thought it could 19 years ago
Tom Lane 799290b1c5 Rearrange use of plpgsql_add_initdatums() so that only the parsing of a 19 years ago
Tom Lane b7c9821146 Fix plpgsql so that when a local variable has no initial-value expression, 19 years ago