Commit Graph

97 Commits (57690c6803525f879fe96920a05e979ece073e71)

Author SHA1 Message Date
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
Bruce Momjian 15d3f9f6b7 Another pgindent run with lib typedefs added. 22 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 22 years ago
Joe Conway ab6ee1f9fc Move include for Python.h above postgres.h to eliminate compiler warning. 22 years ago
Tom Lane fcbc438727 Label CVS tip as 8.0devel instead of 7.5devel. Adjust various comments 22 years ago
Tom Lane ad4d2e9711 Be more consistent about reporting SPI errors in the various PLs. 22 years ago
Tom Lane a393fbf937 Restructure error handling as recently discussed. It is now really 22 years ago
Tom Lane c541bb86e9 Infrastructure for I/O of composite types: arrange for the I/O routines 22 years ago
Tom Lane c3a153afed Tweak palloc/repalloc to allow zero bytes to be requested, as per recent 22 years ago