Commit Graph

105 Commits (14b5eaa236e914af236f30bde6a52edb18c5da9f)

Author SHA1 Message Date
Alvaro Herrera 558c9270c4 Fix buggy usage of vsnprintf in PL/Python by removing it altogether, instead 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Tom Lane d0e5c0c0ee Fix uninitialized-memory bug in plpython proargnames patch. Per bug #3523 19 years ago
Tom Lane 2789b7278c Volatile-qualify a dozen variables in plpython.c to eliminate warnings 19 years ago
Peter Eisentraut 7ce9b3683e Make some messages more consistent 19 years ago
Bruce Momjian 3b93fba823 Remove plpython casts C source code casts: 19 years ago
Bruce Momjian bfe8b89e41 Allow pl/pythonu >= version 2.3 to return boolean, rather than 1/0. 19 years ago
Bruce Momjian 749167cf2a Allow PL/PythonU to compile on Python 2.5. Change needed because of API 19 years ago
Tom Lane 57690c6803 Support enum data types. Along the way, use macros for the values of 19 years ago
Andrew Dunstan afc7e0d848 Allow pltcl args to spi_prepare and plpython args to plpy.prepare to be standard type aliases as well as those known in pg_type. Similar to recent change in plperl. 19 years ago
Tom Lane c398300330 Combine cmin and cmax fields of HeapTupleHeaders into a single field, by 19 years ago
Bruce Momjian 8b4ff8b6a1 Wording cleanup for error messages. Also change can't -> cannot. 19 years ago
Andrew Dunstan cd47d0f781 Fix plpython MSVC build in non-debug mode. 19 years ago
Bruce Momjian 0626a7d1b5 Reverse out use of Py_RETURN_TRUE in plpython, only supported in Python >= 19 years ago
Bruce Momjian 251281767a Fix for plpython functions; return true/false for boolean, 19 years ago
Tom Lane c714e5cba7 Fix plpython to work (or at least pass its regression tests) with 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 20 years ago
Tom Lane 801cbe3310 Define errcode as __msvc_errcode not __vc_errcode for MSVC builds, 20 years ago
Bruce Momjian 819f22a302 Allow PL/python to return composite types and result sets 20 years ago
Tom Lane ea2e263539 Add new return codes SPI_OK_INSERT_RETURNING etc to the SPI API. 20 years ago
Tom Lane b09bfcaa57 Add a feature for automatic initialization and finalization of dynamically 20 years ago
Bruce Momjian 4f4d62a5b5 Attached patch is required ot build with the CRT that comes with Visual 20 years ago
Bruce Momjian d8f75d4131 Fix Win32/Cygwin problems: 20 years ago
Tom Lane 06e10abc0b Fix problems with cached tuple descriptors disappearing while still in use 20 years ago
Tom Lane a0ffab351e Magic blocks don't do us any good unless we use 'em ... so install one 20 years ago
Andrew Dunstan 0a269db9cf Add table_name and table_schema to plpython trigger data, plus docs and regression test. 20 years ago
Bruce Momjian 203592dd88 Revert patch, causing plpython regression failues: 20 years ago
Bruce Momjian 1a84275a7b plpython improvements: 20 years ago
Tom Lane 147d4bf3e5 Modify all callers of datatype input and receive functions so that if these 20 years ago
Tom Lane 20ab467d76 Improve parser so that we can show an error cursor position for errors 20 years ago
Bruce Momjian 98d42c2450 Remove copyright notices from Jan (per author approval), and those files 20 years ago
Neil Conway 8e5a10d46c This patch makes the error message strings throughout the backend 20 years ago
Neil Conway 2b8afe6193 Tweak the error message emitted when a void-returning PL/Python function 20 years ago
Neil Conway 87daae1143 Allow PL/Python functions to return void, per gripe from James Robinson 20 years ago
Neil Conway 45594a6859 Fix three Python reference leaks in PLy_traceback(). This would result 20 years ago
Neil Conway c08c8529e7 In PLy_function_build_args(), the code loops repeatedly, constructing 20 years ago
Neil Conway 6c8d838079 Minor code cleanup for PL/Python: fixup some strangely formatted comments, 20 years ago
Neil Conway edafb4f037 Index: src/pl/plpython/plpython.c 20 years ago
Neil Conway 97e1535fba Various cosmetic code cleanup for PL/Python: 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Bruce Momjian 37f11c3081 This patch addresses the problem mentioned in the "process crash 21 years ago
Bruce Momjian 2d6c375c5f Back out patch. This should be done like other server-side languages. 21 years ago
Bruce Momjian af8756713f This patch allows the PL/Python module to do (SRF) functions. 21 years ago
Tom Lane 278bd0cc22 For some reason access/tupmacs.h has been #including utils/memutils.h, 21 years ago
Neil Conway f478856c7f Change SPI functions to use a `long' when specifying the number of tuples 21 years ago
Tom Lane 70c9763d48 Convert oidvector and int2vector into variable-length arrays. This 21 years ago
Tom Lane 00aa8ed47a Adjust plpython to convert \r\n and \r to \n in Python scripts, 21 years ago
Tom Lane dfdae5d63c Hook up the plpython result-object nrows and status methods correctly. 21 years ago
Tom Lane fa8eb8a726 Add defenses against plpython functions being declared to take or return 22 years ago
Tom Lane b2c4071299 Redesign query-snapshot timing so that volatile functions in READ COMMITTED 22 years ago