Tom Lane
e274325e02
Fix incorrect description of rowtype variable declarations. Eventually
...
(IMHO) the code should be fixed to do what the documentation formerly
claimed, and then revert this change.
2002-01-02 00:41:26 +00:00
Tom Lane
0dd3afad6b
Reiterate that parsing of plpgsql functions is per-process.
2001-11-28 04:18:46 +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
Tom Lane
7e422ac0e7
Fix silly error in plpgsql example.
2001-11-16 00:40:11 +00:00
Tom Lane
fa09b6d7b2
Add documentation for new plpgsql cursor operations. Also, another
...
round of editorial effort.
2001-11-15 23:32:39 +00:00
Tom Lane
307e449e5f
Significant editorial overhaul of plpgsql documentation.
2001-11-15 06:25:22 +00:00
Peter Eisentraut
84f07f5768
Fix indexterms
2001-11-08 23:41:12 +00:00
Bruce Momjian
46712990bd
More keyword uppercasing.
2001-10-13 04:58:35 +00:00
Bruce Momjian
705869dd17
Uppercase keywords where appropriate.
2001-10-12 23:32:34 +00:00
Bruce Momjian
c24216bea8
Fix reverse FOR loop to work properly, uppercase cleanup in file.
2001-10-12 21:19:09 +00:00
Tom Lane
2034086ed1
Correct some errors in plpgsql examples, as reported by Junichi Kobayasi.
2001-10-09 04:55:11 +00:00
Tom Lane
0b3bca6c6f
Change plpgsql to depend on main parser's type-declaration grammar,
...
rather than having its own somewhat half-baked notion of what a type
declaration looks like. This is necessary now to ensure that plpgsql
will think a 'timestamp' variable has the same semantics as 'timestamp'
does in the main SQL grammar; and it should avoid divergences in future.
2001-10-09 04:15:38 +00:00
Peter Eisentraut
4a4abd4232
Generate index.html as the root file name of the documentation set,
...
rather than making index.html a symlink to the autogenerated name.
Fixes fatal problems with tar programs that don't handle symlinks
very well (MacOS X).
(The names user.html, admin.html, etc. are still available as make
targets, but they aren't packaged anymore.)
Use the manifest file that the stylesheets generate as the file list
for packaging. Put graphics in the right place while building, not
while packaging, so you can actually look at them after building.
2001-09-18 12:08:27 +00:00
Peter Eisentraut
351a0c1736
Replace ASCII-quotes with proper markup.
2001-09-13 15:55:24 +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
Tatsuo Ishii
0e76f1bb1a
Fix typo.
2001-09-10 06:35:34 +00:00
Tatsuo Ishii
f8f0ff6b57
Example program lacks RETURN
2001-09-10 06:30:43 +00:00
Tom Lane
a056f14be0
Cause plpgsql's PERFORM to behave according to its documentation,
...
which says that PERFORM will execute any SELECT query and discard the
result. The former implementation would in fact raise an error if the
result contained more than one row or more than one column.
Also, change plpgsql's error-logging mechanism to emit the additional
messages about error location at NOTICE rather than DEBUG level. This
allows them to be seen by the client without having to dig into the
postmaster log file (which may be nonexistent or inaccessible by the
client).
2001-05-28 19:33:24 +00:00
Peter Eisentraut
3fdfce6839
markup fix
2001-05-28 14:58:58 +00:00
Bruce Momjian
fdf067c108
ELSEIF PL/PgSQL doc patch.
...
Klaus Reger
2001-05-22 13:52:27 +00:00
Peter Eisentraut
a6677f0f9e
Change "indices" to "indexes", per OED.
2001-05-17 21:50:18 +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
Tom Lane
0ad9abe72e
Improve discussion of %TYPE and %ROWTYPE.
2001-05-11 06:10:44 +00:00
Tom Lane
46c93bd532
Further cleanup of RAISE discussion; in particular, remove example
...
that doesn't actually work.
2001-05-08 02:53:24 +00:00
Bruce Momjian
24baa1d95f
Fix raise mention that %% output as %.
2001-05-08 02:26:09 +00:00
Bruce Momjian
f4832defa9
Update RAISE manual concerning % format symbols.
2001-05-08 00:30:41 +00:00
Bruce Momjian
e86c31c74f
Update RAISE mention in manual to take string/variable not format/identifier.
2001-05-08 00:09:22 +00:00
Tom Lane
3311e250cd
Doc update from Roberto Mello: improved versions of instr() examples.
2001-03-23 22:07:50 +00:00
Peter Eisentraut
11fd91579a
Repair.
2001-03-17 18:08:14 +00:00
Thomas G. Lockhart
3d4fda8d19
New updates from Roberto Mello sent privately today due to email troubles.
2001-03-17 01:53:22 +00:00
Peter Eisentraut
f975590f69
Integrate "Porting from Oracle PL/SQL" HOWTO from Roberto Mello.
2001-03-09 19:09:00 +00:00
Peter Eisentraut
496373e2e4
Fix markup. (A <keyword> isn't what it is in SQL.) Add jungle of more
...
markup. ;-)
2001-02-21 17:50:38 +00:00
Tom Lane
414f94f262
Change plpgsql's GET DIAGNOSTICS statement to use SQL99-compatible
...
syntax. Fix the RESULT_OID case, which never worked. Add documentation.
2001-02-19 19:49:53 +00:00
Tom Lane
618733de1a
Fix documentation of EXECUTE, add documentation of FOR ... EXECUTE.
2001-02-10 05:32:33 +00:00
Peter Eisentraut
74bbe8097d
Replace some oldish, non-SQL'ish elements with more standard forms. (cast
...
syntax, type names, function names, etc.)
2001-01-20 20:59:29 +00:00
Thomas G. Lockhart
7705581e49
Replace contraction with long form. Cosmetic only.
2001-01-18 07:11:36 +00:00
Bruce Momjian
392793b1ac
Functions -> Function's
2001-01-17 22:13:33 +00:00
Bruce Momjian
9a342d2035
There are misprints in postgres doc., in :
...
Chapter 10. PL/pgSQL - SQL Procedural Language (c40914117.htm)
Statements
...
(resulting in a PL/pgSQL internal SELECT).
But there are cases where someone isn't interested int
-----------------------------------------(have to be)-->
But there are cases where someone isn't interested in
the functions result.
RAISE level format''
--(have to be)-->
RAISE level 'format'
2001-01-17 16:34:34 +00:00
Peter Eisentraut
027f144e39
Terminology cleanup: class -> table, instance -> row, attribute -> column,
...
etc.
2001-01-13 23:58:55 +00:00
Bruce Momjian
5d42c0f3ac
A patch for doc/src/sgml/plsql.sgml to add a little more info about PL/pgSQL
...
EXECUTE.
--
-------- Robert B. Easter
2001-01-09 15:26:16 +00:00
Peter Eisentraut
bc0afb715d
EXECUTE documentation, from "Robert B. Easter" <reaster@comptechnews.com>.
...
I threw in spell check run over the whole file.
2001-01-06 12:26:08 +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
72ad5fe15c
Add id' attributes to all
chapter' and `sect1' tags, to generate useful
...
names for the HTML files (e.g., not x4856.htm).
2000-09-29 20:21:34 +00:00
Thomas G. Lockhart
a5da56d320
Fix typos and inconsistancies found by He Weiping
...
(aka Henry) <laser@zhangmai.com.cn>.
Fix new problems in insert.sgml and create_function.sgml which kept jade
from completing.
2000-08-25 15:17:50 +00:00
Bruce Momjian
76da5b80b1
Change plpgsql example from SELECT * INTO rec to SELECT INTO rec *.
2000-05-17 00:15:48 +00:00
Bruce Momjian
d446c129ac
Fix typo
2000-05-16 21:16:12 +00:00
Bruce Momjian
5128d145a8
Cleanup plpgsql man page typo
2000-05-16 19:29:43 +00:00
Bruce Momjian
4108ee962a
Add single quote.
2000-05-09 18:27:25 +00:00
Thomas G. Lockhart
45f79cae14
Fixups in content and markup for 7.0 release.
2000-05-02 20:02:03 +00:00
Thomas G. Lockhart
fb43d74762
Use a uniform chapter title for all of the procedural languages.
2000-03-31 06:17:21 +00:00