Bruce Momjian
fcc02c20fc
Update PL documentation:
...
An article at WebProNews quoted from the PG docs as to the merits of
stored procedures. I have added a bit more material on their merits,
as well as making a few changes to improve the introductions to
PL/Perl and PL/Tcl.
Chris Browne
2006-05-30 11:40:21 +00:00
Andrew Dunstan
21e343da35
Make plperl's $_TD trigger data a global rather than a lexical variable,
...
with a fresh local value for each invocation, to avoid unexpected sharing
violations. Per recent -hackers discussion.
2006-05-29 13:51:23 +00:00
Andrew Dunstan
777f72cd37
Add table_name and table_schema to plperl trigger data. relname is
...
kept but now deprecated. Patch from Adam Sjøgren. Add regression test to
show plperl trigger data (Andrew).
TBD: apply similar changes to plpgsql, plpython and pltcl.
2006-05-26 17:34:16 +00:00
Bruce Momjian
497b5ad928
Make $PostgreSQL CVS tags consistent for SGML files.
2006-03-10 19:10:50 +00:00
Andrew Dunstan
5d723d05c0
Prepared queries for PLPerl, plus fixing a small plperl memory leak. Patch
...
and docs from Dmitry Karasik, slightly editorialised.
2006-03-05 16:40:51 +00:00
Neil Conway
8e5a10d46c
This patch makes the error message strings throughout the backend
...
more compliant with the error message style guide. In particular,
errdetail should begin with a capital letter and end with a period,
whereas errmsg should not. I also fixed a few related issues in
passing, such as fixing the repeated misspelling of "lexeme" in
contrib/tsearch2 (per Tom's suggestion).
2006-03-01 06:30:32 +00:00
Peter Eisentraut
39dfbe5791
Spellchecking run, final cleanups
2005-11-04 23:14:02 +00:00
Andrew Dunstan
24fa8746ae
Fix incorrect wording about function failure time on unsafe ops - these
...
are now caught by the validator. And a small visit from the perl style police:
check the return value from open().
2005-10-24 15:39:50 +00:00
Andrew Dunstan
48f3d77858
replace use of predefined perl vars $a and $b with $x and $y - per Greg Sabino Mullane
2005-10-18 22:53:54 +00:00
Bruce Momjian
6b97e437ca
Add warning about plperl nested named subroutines
...
Andrew Dunstan
2005-10-12 14:28:33 +00:00
Tom Lane
9005b757f5
Mention BEGIN { strict->import(); } as a substitute for 'use strict'
...
in plperl functions.
2005-08-24 19:16:49 +00:00
Tom Lane
95f202c021
Adjust description of use_strict parameter. Some other minor editorial
...
cleanup.
2005-08-24 18:56:07 +00:00
Bruce Momjian
fab177e64f
Improve documention on loading large data sets into plperl.
...
David Fetter
2005-08-12 21:42:53 +00:00
Neil Conway
d6375d6109
Documentation for some new PL/Perl features. Patch from David Fetter,
...
various editorialization from Neil Conway.
2005-07-13 02:10:42 +00:00
Bruce Momjian
bebe7c5600
Here's a patch to do the following:
...
1. Rename spi_return_next to return_next.
2. Add a new test for return_next.
3. Update the expected output.
4. Update the documentation.
Abhijit Menon-Sen
2005-06-05 03:16:42 +00:00
Neil Conway
4de23092d0
Add some links to the CREATE FUNCTION reference page when describing
...
function definition for particular PLs. Original patch from David
Fetter, editorializing by Neil Conway.
2005-05-20 01:52:25 +00:00
Bruce Momjian
0e2f88a6d5
We don't put URL's in ulink's because the URL is always generated, but
...
we can put words in ulink and the URL will still be printed.
per Peter
2005-04-09 03:52:43 +00:00
Bruce Momjian
fd977434b3
Adjust SGML ulink tags to the URL is always displayed in our printed docs.
2005-03-31 03:54:38 +00:00
Bruce Momjian
be105bd789
Please find enclosed another patch that now (I hope) really is
...
correct. It's in addition to the previous patch.
David Fetter
2005-01-17 17:29:49 +00:00
Bruce Momjian
6ea9da1ee0
Please find enclosed a patch to the pl/perl documents that correctly
...
tells what arguments go to pl/perl triggers.
David Fetter
2005-01-17 03:04:17 +00:00
Tom Lane
883ac5ca7a
More minor updates and copy-editing.
2004-12-30 21:45:37 +00:00
Peter Eisentraut
5ec30faee6
Spell checker run
2004-12-13 18:05:10 +00:00
Peter Eisentraut
d89042b443
Patch to the pl/perl documents that clarifies the scope of global data and
...
gives an example of storing a code reference
by David Fetter
2004-12-11 20:03:37 +00:00
Tom Lane
35f4994133
Fix plperl and pltcl error handling per my previous proposal. SPI
...
operations are now run as subtransactions, so that errors in them
can be reported as ordinary Perl or Tcl errors and caught by the
normal error handling convention of those languages. Also do some
minor code cleanup in pltcl.c: extract a large chunk of duplicated
code in pltcl_SPI_execute and pltcl_SPI_execute_plan into a shared
subroutine.
2004-11-21 21:17:07 +00:00
Tom Lane
88969ea11a
Fix incorrect documentation of plperl's method for accessing the number
...
of rows processed by a SPI query (David Fetter); also some other minor
editorial cleanup (Tom Lane).
2004-11-19 23:22:54 +00:00
Peter Eisentraut
a981b02336
Reduce formatting entropy
2004-11-06 14:32:10 +00:00
Bruce Momjian
bdb8b394c4
This patch clarifies the usage of references in PL/Perl :)
...
David Fetter
2004-10-15 16:51:48 +00:00
Tom Lane
2f48836b1f
Some editorializing on the docs for the dollar-quoting feature: fix
...
grammar, don't drop discussions into the middle of unrelated discussions,
etc.
2004-09-20 22:48:29 +00:00
Bruce Momjian
1f0a19c263
The enclose patch clarifies and makes a more useful example for the
...
Global Values in PL/Perl section of the documents.
David Fetter
2004-08-18 03:37:56 +00:00
Bruce Momjian
8eeae3e11c
Please find enclosed a patch that matches the PL/Perl documentation
...
(fairly closely, I hope) to the current PL/Perl implementation.
David Fetter
2004-07-21 20:44:52 +00:00
Bruce Momjian
7a55ba7615
Back out pg_autovacuum commit after cvs clean failure causes commit.
2004-07-21 20:34:50 +00:00
Bruce Momjian
8dec0c1bf2
lease find enclosed a patch that matches the PL/Perl documentation
...
(fairly closely, I hope) to the current PL/Perl implementation.
David Fetter
2004-07-21 20:23:05 +00:00
Neil Conway
8295c27c89
Add documentation for the new "dollar quoting" feature, and update existing
...
examples to use dollar quoting when appropriate. Original patch from David
Fetter, additional work and editorializing by Neil Conway.
2004-05-16 23:22:08 +00:00
Neil Conway
0b52062265
This patch makes some improvements and adds some additional detail
...
to the documentation on routine database maintainence activities.
I also corrected a bunch of SGML markup.
2003-12-14 00:10:32 +00:00
PostgreSQL Daemon
969685ad44
$Header: -> $PostgreSQL Changes ...
2003-11-29 19:52:15 +00:00
Peter Eisentraut
c326d8f4f2
Add/edit index entries.
2003-08-31 17:32:24 +00:00
Peter Eisentraut
a8cb3368db
General editing
2003-04-07 01:29:26 +00:00
Peter Eisentraut
bc49968764
Add more appropriate markup.
2002-09-21 18:32:54 +00:00
Peter Eisentraut
da123b7c58
Update installation instructions and put mostly everything in one place.
...
Also, some editing in PL/Perl and PL/Python chapters.
2002-09-18 20:09:32 +00:00
Bruce Momjian
ade0fe5cb4
Update docs for new stored procedure error levels.
2002-03-06 19:05:58 +00:00
Tom Lane
c4bab5f29b
Overhaul plperl documentation.
2002-01-25 19:13:15 +00:00
Peter Eisentraut
f8728467ff
Point to main CPAN site, and reword a little.
2002-01-08 16:13:41 +00:00
Bruce Momjian
cc9ae0b63c
Update bad URL's with good ones.
2002-01-08 05:39:26 +00:00
Peter Eisentraut
731204e090
Editorial review
2002-01-07 02:29:15 +00:00
Thomas G. Lockhart
2475e87481
Deprecate 'current' for date/time input.
...
Fix up references to "PostgreSQL" rather than "Postgres". Was roughly
evenly split between the two before. ref/ files not yet done.
2001-11-21 05:53:41 +00:00
Peter Eisentraut
a457d33516
Markup and spell-check run over Programmer's Guide (rather incomplete still).
2001-09-10 21:58:47 +00:00
Bruce Momjian
9e39ffe4cd
Attached is documentation describing plperlu differences from plperl.
...
Alex Pilosov
2001-06-22 21:37:14 +00:00
Peter Eisentraut
01839df6dd
Add index. Only some parts of the manual set have index entries so far...
2001-05-12 22:51:36 +00:00
Peter Eisentraut
1b555ce791
Replace incorrect uses of 'which' with 'that'. (so-called "wicked which")
2000-12-22 18:57:50 +00:00
Peter Eisentraut
f824d4a363
Polish PL/Perl documentation. The README file got shrunk to being a
...
pointer into the real documentation.
2000-12-19 18:16:26 +00:00