Commit Graph

199 Commits (b93f5a5673b4bb09e14eb80fe28aa21fc20a6271)

Author SHA1 Message Date
Alvaro Herrera b93f5a5673 Move Trigger and TriggerDesc structs out of rel.h into a new reltrigger.h 15 years ago
Bruce Momjian 6560407c7d Pgindent run before 9.1 beta2. 15 years ago
Peter Eisentraut bcf63a51e3 Message style improvements 15 years ago
Andrew Dunstan c02d5b7c27 Use a macro variable PG_PRINTF_ATTRIBUTE for the style used for checking printf type functions. 15 years ago
Peter Eisentraut 395fcac299 Fix PL/Python traceback for error in separate file 15 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago
Robert Haas b6bc481d55 Fix some sloppiness in new PL/python get_source_line() function. 15 years ago
Peter Eisentraut 2bd78eb8d5 Add traceback information to PL/Python errors 15 years ago
Heikki Linnakangas ec7626504f Don't leak the temporary PLyProcedure struct we create for inline plpython 15 years ago
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. 15 years ago