Commit Graph

248 Commits (438cdf6e4893311df4e94dc55b961a691908a530)

Author SHA1 Message Date
Peter Eisentraut 438cdf6e48 Remove remaining expected file for Python 2.2 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 2fd77060a2 Allow make check in PL directories 15 years ago
Tom Lane 907855ac75 Clean up missed change to plpython expected files. 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
Tom Lane cc73c16050 Quick hack to un-break plpython regression tests. 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
Peter Eisentraut fc946c39ae Remove useless whitespace at end of lines 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
Tom Lane cc2c8152e6 Some more gitignore cleanups: cover contrib and PL regression test outputs. 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 16 years ago
Peter Eisentraut 3f11971916 Remove extra newlines at end and beginning of files, add missing newlines 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
Peter Eisentraut cc3c4a2407 Update Python version information 16 years ago
Peter Eisentraut 6b72aa5154 Add a regression test case for bug #5497 16 years ago
Tom Lane 4ddf151c49 Fix quite-bogus handling of arrays in plpython datum-to-PyObject 16 years ago
Peter Eisentraut f1ac08daee Translation update 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