Commit Graph

190 Commits (1c249fcfcc331d589a2fa1574e16c0ef3d1547ce)

Author SHA1 Message Date
Alvaro Herrera 1c249fcfcc Fix PL/Python memory leak involving array slices 15 years ago
Peter Eisentraut 804d13adfd Fix behavior when raising plpy.Fatal() 15 years ago
Peter Eisentraut 8f76324352 Report Python errors from iterators with PLy_elog 15 years ago
Tom Lane 4172bd8830 Suppress some "variable might be clobbered by longjmp" warnings. 15 years ago
Tom Lane 63b656b7bf Create extension infrastructure for the core procedural languages. 15 years ago
Andrew Dunstan 12bf602f3f Add a comment explaining the recent fix for plpython breakage in commit 4c966d9. 15 years ago
Andrew Dunstan 4c966d920f Fix plpython breakage detected on certain Fedora machines on buildfarm. 15 years ago
Peter Eisentraut 474a42473a PL/Python custom SPI exceptions 15 years ago
Peter Eisentraut 22690719ea PL/Python explicit subtransactions 15 years ago
Peter Eisentraut bc411f25c1 Table function support for PL/Python 15 years ago
Peter Eisentraut 1c51c7d5ff Add PL/Python functions for quoting strings 15 years ago
Peter Eisentraut b05186f8a4 Invalidate PL/Python functions with composite type argument when the 15 years ago
Peter Eisentraut 66d6b4cb54 Fix for warnings-free compilation with Python 3.2 15 years ago
Peter Eisentraut 0c5933d010 Wrap PL/Python SPI calls into subtransactions 15 years ago
Peter Eisentraut 15f55cc38a Add validator to PL/Python 15 years ago
Peter Eisentraut 5829738868 Do not prefix error messages with the string "PL/Python: " 15 years ago
Peter Eisentraut 582b5ac62e Improve exception usage in PL/Python 15 years ago
Peter Eisentraut 418df3a5dd Also save the error detail in SPIError 15 years ago
Peter Eisentraut ddf8c16822 Fix compiler warnings 15 years ago
Peter Eisentraut 88dcdf9007 Call PLy_spi_execute_fetch_result inside the try/catch block 15 years ago
Peter Eisentraut 52713d02c7 Refactor PLy_spi_prepare to save two levels of indentation 15 years ago
Tom Lane de3c2d6e92 Revert "Factor out functions responsible for caching I/O routines". 15 years ago
Peter Eisentraut 116ce2f4d0 Get rid of the global variable holding the error state 15 years ago
Peter Eisentraut 4609caf364 Correctly add exceptions to the plpy module for Python 3 15 years ago
Peter Eisentraut 14b9f69cb2 Fix wrong comment 15 years ago
Peter Eisentraut 81f79dbf2e Fix typo 15 years ago
Peter Eisentraut 740e54ca84 Factor out functions responsible for caching I/O routines 15 years ago
Peter Eisentraut fbed5d4830 Add braces around an if block, for readability 15 years ago
Peter Eisentraut 847e8c7783 Free plan values in the PLyPlanObject dealloc function 15 years ago
Peter Eisentraut 719461b7a2 Improve message for errors in compiling anonymous PL/Python blocks 15 years ago
Peter Eisentraut d9a95c0adb Use PyObject_New instead of PyObject_NEW 15 years ago
Peter Eisentraut 41282111e6 Skip dropped attributes when converting Python objects to tuples 15 years ago
Peter Eisentraut 59ea9ef9aa Use palloc in TopMemoryContext instead of malloc 15 years ago
Peter Eisentraut 88047e59ba Fix an error when a set-returning function fails halfway through the execution 15 years ago
Peter Eisentraut 46211da1b8 Use HTABs instead of Python dictionary objects to cache procedures 15 years ago
Alvaro Herrera 978445bece Increment Py_None refcount for NULL array elements 15 years ago
Tom Lane add0ea88e7 Fix aboriginal mistake in plpython's set-returning-function support. 15 years ago
Tom Lane 09130e5867 Fix plpython so that it again honors typmod while assigning to tuple fields. 15 years ago
Tom Lane 2ec993a7cb Support triggers on views. 15 years ago
Tom Lane caaf2e8469 Fix sloppy usage of TRIGGER_FIRED_BEFORE/TRIGGER_FIRED_AFTER. 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 16 years ago
Peter Eisentraut c76a4f8dea Catch null pointer returns from PyCObject_AsVoidPtr and PyCObject_FromVoidPtr 16 years ago
Tom Lane 6d297e0551 Minor kibitzing on previous patch: no need to run check more than once. 16 years ago
Peter Eisentraut 803716013d Install safeguard against running PL/Python 2 and 3 in the same session 16 years ago
Bruce Momjian 239d769e7e pgindent run for 9.0, second run 16 years ago
Peter Eisentraut a3401bea9c Use different function names for plpython3 handlers, to avoid clashes in 16 years ago
Tom Lane 4ddf151c49 Fix quite-bogus handling of arrays in plpython datum-to-PyObject 16 years ago
Tom Lane f5c23ca208 Fix leakage of proc-related storage in plpython's inline handler. 16 years ago
Tom Lane b1bc2f0425 Fix multiple memory leaks in PLy_spi_execute_fetch_result: it would leak 16 years ago
Peter Eisentraut a401226bd8 Prevent the injection of invalidly encoded strings by PL/Python into PostgreSQL 16 years ago