Commit Graph

182 Commits (22690719ea5a89ccbcd04deb58c83d8d5f138df8)

Author SHA1 Message Date
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. 15 years ago
Peter Eisentraut c76a4f8dea Catch null pointer returns from PyCObject_AsVoidPtr and PyCObject_FromVoidPtr 15 years ago
Tom Lane 6d297e0551 Minor kibitzing on previous patch: no need to run check more than once. 15 years ago
Peter Eisentraut 803716013d Install safeguard against running PL/Python 2 and 3 in the same session 15 years ago
Bruce Momjian 239d769e7e pgindent run for 9.0, second run 15 years ago
Peter Eisentraut a3401bea9c Use different function names for plpython3 handlers, to avoid clashes in 15 years ago
Tom Lane 4ddf151c49 Fix quite-bogus handling of arrays in plpython datum-to-PyObject 15 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
Peter Eisentraut 12c2f2f66c Use data-type specific conversion functions also in plpy.execute 16 years ago
Bruce Momjian 65e806cba1 pgindent run for 9.0 16 years ago
Tom Lane a232f30f05 Volatile-ize all five places where we expect a PG_TRY block to restore 16 years ago
Robert Haas e26c539e9f Wrap calls to SearchSysCache and related functions using macros. 16 years ago
Peter Eisentraut adb7764030 PL/Python DO handler 16 years ago
Peter Eisentraut 44e03742d8 Improved printing of Python exceptions in PL/Python 16 years ago
Peter Eisentraut dd4cd55c15 Python 3 support in PL/Python 16 years ago
Peter Eisentraut db7386187f PL/Python array support 16 years ago