Commit Graph

290 Commits (c89f409749c35bf18fab8e025a34645dd925390c)

Author SHA1 Message Date
Andrew Dunstan 50d89d422f Force strings passed to and from plperl to be in UTF8 encoding. 15 years ago
Andrew Dunstan c73fe72e27 Add comment on why we're passing a useless 'false' to the plperl function compiler. 15 years ago
Andrew Dunstan ef19dc6d39 Set up PLPerl trigger data using C code instead of Perl code. 15 years ago
Tom Lane 518b1e96c0 Suppress "control reaches end of non-void function" warning from gcc 4.5. 15 years ago
Peter Eisentraut fc946c39ae Remove useless whitespace at end of lines 15 years ago
Tom Lane 76b12e0af7 Revert removal of trigger flag from plperl function hash key. 15 years ago
Andrew Dunstan 6c3c7b533e Allow generic record arguments to plperl functions 15 years ago
Andrew Dunstan 2d01ec0708 Remove unnecessary use of trigger flag to hash plperl functions 15 years ago
Tom Lane 2ec993a7cb Support triggers on views. 15 years ago
Tom Lane 50595b5fce Use a separate interpreter for each calling SQL userid in plperl and pltcl. 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Bruce Momjian 239d769e7e pgindent run for 9.0, second run 16 years ago
Peter Eisentraut 89474cc321 Message tuning 16 years ago
Andrew Dunstan 3659c62350 Remove perl symbol table additions for plperl functions, and mention of it 16 years ago
Andrew Dunstan a6eeb8c10d Follow up a visit from the style police. 16 years ago
Andrew Dunstan 1f474d299d Abandon the use of Perl's Safe.pm to enforce restrictions in plperl, as it is 16 years ago
Tom Lane 9287567eff Fix bogus order of cleanup steps in plperl_inline_handler. 16 years ago
Peter Eisentraut ab5694e80d Message style tuning 16 years ago
Peter Eisentraut c92e2702f1 Message style tuning 16 years ago
Tom Lane dac7a37dd3 Use SvROK(sv) rather than directly checking SvTYPE(sv) == SVt_RV in plperl. 16 years ago
Andrew Dunstan 6fcd5010e2 Add checks for valid encoding of query strings passed to SPI by plperl. 16 years ago
Bruce Momjian 65e806cba1 pgindent run for 9.0 16 years ago
Andrew Dunstan 56adf3703c Clean up package namespace use and use of Safe in plperl. 16 years ago
Alvaro Herrera 4a5ee2a419 Move main error message text in plperl into errmsg from errdetail, 16 years ago
Robert Haas e26c539e9f Wrap calls to SearchSysCache and related functions using macros. 16 years ago
Andrew Dunstan 1b04b8f1bc Add plperl.on_plperl_init and plperl.on_plperlu_init settings for language-specific startup. Rename recently added plperl.on_perl_init to plperl.on_init. Also, code cleanup for utf8 hack. Patch from Tim Bunce, reviewed by Alex Hunsaker. 16 years ago
Andrew Dunstan 7e30c0067c Free reference in correct Perl context. Backpatch to release 8.2. Patch from Tim Bunce. 16 years ago
Andrew Dunstan 85d67ccd75 Add plperl.on_perl_init setting to provide for initializing the perl library on load. Also, handle END blocks in plperl. 16 years ago
Andrew Dunstan 1f98cccb94 Fix bug found by warning from recent gcc. patch from Tim Bunce. 16 years ago
Andrew Dunstan 1a7c2f9dea Various small improvements and cleanups for PL/Perl. 16 years ago
Andrew Dunstan 05672e5045 Add utility functions to PLPerl: 16 years ago
Andrew Dunstan a2b34b16be Tidy up and refactor plperl.c. 16 years ago
Andrew Dunstan 1c4c741ea9 Check values passed back from PLPerl to the database, via function return, 16 years ago
Tom Lane 85d02a6586 Redefine Datum as uintptr_t, instead of unsigned long. 16 years ago
Heikki Linnakangas 84d723b6ce Previous fix for temporary file management broke returning a set from 16 years ago
Tom Lane 67ec9adaf1 Fix session-lifespan memory leak when a plperl function is redefined: 16 years ago
Tom Lane 42b2907d12 Add support for anonymous code blocks (DO blocks) to PL/Perl. 16 years ago
Tom Lane ef59fa0453 Ensure the previous Perl interpreter selection is restored upon exit from 16 years ago
Andrew Dunstan 176c3c8db9 Convert a perl array to a postgres array when returned by Set Returning Functions as well as non SRFs. Backpatch to 8.1 where these facilities were introduced. with a little help from Abhijit Menon-Sen. 16 years ago
Peter Eisentraut e3f027115a errcontext support in PL/Perl 16 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Tom Lane af98bb2ad7 Move variable declaration to avoid 'unused variable' warning when the 17 years ago
Andrew Dunstan 1978d7f13f Adjust recent PERL_SYS_INIT3 call to avoid platforms where it might fail, and to remove compilation warning. Backpatch the release 7.4 17 years ago
Andrew Dunstan fd416db406 Initialise perl library as documented in perl API. Backpatch to release 7.4. 17 years ago
Peter Eisentraut 1491b4c47d another small message tweak 17 years ago
Peter Eisentraut 80e26caa02 Wordsmithing for PL/Perl messages 17 years ago
Tom Lane 1cfd9e8834 Fix executor/spi.h to follow our usual conventions for include files, ie, 17 years ago
Peter Eisentraut 218b4e8dd8 Append major version number and for libraries soname major version number 17 years ago
Tom Lane cd35e9d746 Some infrastructure changes for the upcoming auto-explain contrib module: 17 years ago
Tom Lane 05bba3d176 Be more tense about not creating tuplestores with randomAccess = true unless 17 years ago