Commit Graph

338 Commits

Author SHA1 Message Date
Tom Lane e23a2b1ea0 Document formerly-undocumented WITH clause of CREATE FUNCTION. 1999-10-02 21:27:49 +00:00
Thomas G. Lockhart 996c52beff Refer to "name", rather than "table" as the replaceable parameter.
Seems to read better this way...
1999-10-01 15:26:29 +00:00
Thomas G. Lockhart f74179cd8e Make a mention of the new TRUNCATE command. 1999-10-01 15:24:46 +00:00
Thomas G. Lockhart 66d17c3e26 Make TABLE an optional keyword, a la LOCK TABLE (gram.y fixes not yet
committed, but will be within a week or two).
Actually include the reference page into the docs...
1999-10-01 15:24:09 +00:00
Thomas G. Lockhart 03e5edb7e4 Add keywords from Jan's recent RI features. 1999-10-01 15:21:08 +00:00
Thomas G. Lockhart b14a465131 Remove xref's to reference pages since they are not available in
the Programmer's Guide.
1999-10-01 15:20:06 +00:00
Thomas G. Lockhart d810338d29 Add a few items to the reserved keyword lists.
Clarify information on implicitly-typed constants.
1999-09-29 05:22:25 +00:00
Thomas G. Lockhart be18913532 Remove remnant garbage from former man pages. 1999-09-29 05:21:11 +00:00
Thomas G. Lockhart fe2f878173 Fix (mis)information about NULLIF() SQL function.
Thanks to Tom Lane for pointing it out.
1999-09-29 05:20:20 +00:00
Thomas G. Lockhart f7e12db734 Strip out some cvs log info. 1999-09-29 05:18:14 +00:00
Bruce Momjian 165e2b6fb3 Recommend postmaster stop/start for pg_upgrade. 1999-09-28 15:59:10 +00:00
Bruce Momjian 9394d62c73 I have been working with user defined types and user defined c
functions.  One problem that I have encountered with the function
manager is that it does not allow the user to define type conversion
functions that convert between user types. For instance if mytype1,
mytype2, and mytype3 are three Postgresql user types, and if I wish to
define Postgresql conversion functions like

I run into problems, because the Postgresql dynamic loader would look
for a single link symbol, mytype3, for both pieces of object code.  If
I just change the name of one of the Postgresql functions (to make the
symbols distinct), the automatic type conversion that Postgresql uses,
for example, when matching operators to arguments no longer finds the
type conversion function.

The solution that I propose, and have implemented in the attatched
patch extends the CREATE FUNCTION syntax as follows. In the first case
above I use the link symbol mytype2_to_mytype3 for the link object
that implements the first conversion function, and define the
Postgresql operator with the following syntax

The patch includes changes to the parser to include the altered
syntax, changes to the ProcedureStmt node in nodes/parsenodes.h,
changes to commands/define.c to handle the extra information in the AS
clause, and changes to utils/fmgr/dfmgr.c that alter the way that the
dynamic loader figures out what link symbol to use.  I store the
string for the link symbol in the prosrc text attribute of the pg_proc
table which is currently unused in rows that reference dynamically
loaded
functions.


Bernie Frankpitt
1999-09-28 04:34:56 +00:00
Bruce Momjian 63a85082e3 Reverse out last scan.l patch for minus handling.\ 1999-09-28 03:41:40 +00:00
Bruce Momjian e7cad7b0cb Add TRUNCATE command, with psql help and sgml additions. 1999-09-23 17:03:39 +00:00
Michael Meskes 4d4378b70f *** empty log message *** 1999-09-15 14:14:10 +00:00
Tom Lane a7fd74edb3 Update protocol doc to emphasize that backend can return
arbitrarily long strings, and frontends should cope gracefully.  Goes
along with long query and long error message changes...
1999-09-11 22:02:51 +00:00
Thomas G. Lockhart 1e4f0197bb Add information on ssh tunnelling from Gene Selkov. 1999-09-10 14:20:24 +00:00
Thomas G. Lockhart db5d724986 Fix wording on allowed/forbidden keyword usage.
Thanks to Michael Deck <deckm@cleansoft.com> for the tipoff.
Add more examples for language components.
1999-09-01 02:37:40 +00:00
Tom Lane 78114cd4d4 Further planner/optimizer cleanups. Move all set_tlist_references
and fix_opids processing to a single recursive pass over the plan tree
executed at the very tail end of planning, rather than haphazardly here
and there at different places.  Now that tlist Vars do not get modified
until the very end, it's possible to get rid of the klugy var_equal and
match_varid partial-matching routines, and just use plain equal()
throughout the optimizer.  This is a step towards allowing merge and
hash joins to be done on expressions instead of only Vars ...
1999-08-22 20:15:04 +00:00
Bruce Momjian 898b21267d Add missing docs semicolon. 1999-08-17 17:31:11 +00:00
Bruce Momjian aa2cc6ebbe Change >& to > and 2>&1. 1999-08-16 19:59:25 +00:00
Thomas G. Lockhart d0a1919852 Use sgml/Makefile to generate man sections, so just "make man" there. 1999-08-08 15:10:21 +00:00
Thomas G. Lockhart 13d1a3c06d Remove emacs properties block from end of file. 1999-08-08 15:05:22 +00:00
Thomas G. Lockhart c9ff1a5a75 Update references to char2 type by using char(2).
Thanks to Garr Updegraff <garru@uci.edu> for the tip.
1999-08-08 04:21:33 +00:00
Thomas G. Lockhart f11bdb9db5 Allow nsgmls to validate input by defining the document type.
Use refentry.sgml as a generic header for man pages through nsgmls.
1999-08-08 04:18:29 +00:00
Thomas G. Lockhart c879556780 Fix markup to allow clean man pages.
Add new pages for programming languages and tcl shells.
1999-08-06 13:50:31 +00:00
Thomas G. Lockhart 6b07527721 Fix cross-reference markup so that only the *title* of the Operators
chapter is included, not the chapter itself.
Thanks to Evelyn Mitchell <efm@tummy.com> for pointing it out.
1999-08-06 13:48:38 +00:00
Thomas G. Lockhart 777a4f71f0 Remove explicit references to ref/ path in file names; use vpath instead.
Fix rules for man pages to ensure double-pass to get cross references.
Add a few new man pages.
1999-08-06 13:46:17 +00:00
Thomas G. Lockhart 4f1766f1ea Try to clarify characteristics of the SERIAL type.
Fix source indenting, which does not affect output.
Note: still need docs on NUMERIC and DECIMAL
 (and let's not talk about regression tests :()
1999-08-06 13:43:42 +00:00
Tom Lane d7f2c5580d Add some more verbiage to man page's directions for pg_upgrade. 1999-07-31 22:05:48 +00:00
Bruce Momjian d41754cea2 Fix description of psql flags -t and -q. 1999-07-30 00:59:50 +00:00
Thomas G. Lockhart f2f43efbe1 Complete merge of all old man page information.
lisp.sgml is a placeholder for Eric Marsden's upcoming contribution.
catalogs.sgml is not yet marked up or integrated.
 It should perhaps become an appendix.
1999-07-22 15:11:05 +00:00
Thomas G. Lockhart a27512e634 Complete merge of all old man page information.
ecpg reference page still needs formatting.
1999-07-22 15:09:15 +00:00
Thomas G. Lockhart 4d5aa343de Fix conflicting id tags (sql.sgml also used "select-title"). 1999-07-16 14:32:06 +00:00
Thomas G. Lockhart 3c4447fd97 Complete markup for docbook2man support.
Fix synopsis info thanks to Yves.Martin@ensimag.imag.fr.
1999-07-15 16:31:16 +00:00
Thomas G. Lockhart f2738394d6 Add id label to allow cross referencing. 1999-07-15 15:49:18 +00:00
Bruce Momjian 4b2c2850bf Clean up #include in /include directory. Add scripts for checking includes. 1999-07-15 15:21:54 +00:00
Thomas G. Lockhart d72168d6e0 Complete first pass at markup adjustments for docbook2man man pages.
Add some internal cross references to select.sgml.
1999-07-14 20:32:59 +00:00
Thomas G. Lockhart d289011f8a Include gif omitted from integrated doc.
Thanks to Goran Uddeborg for spotting this.
1999-07-14 20:31:42 +00:00
Bruce Momjian 941d426ca0 Update install file. 1999-07-12 17:33:36 +00:00
Bruce Momjian d0fb48818a Update 6.5.1 items. 1999-07-12 02:27:31 +00:00
Bruce Momjian 2859bde109 Update release notes. 1999-07-11 18:02:59 +00:00
Bruce Momjian f8d856af2c Add Tom's group by fixes. 1999-07-11 03:57:58 +00:00
Bruce Momjian aece668947 Add new item from Tom Lane sorting. 1999-07-10 18:38:16 +00:00
Bruce Momjian bc5f34c89e Update release notes. 1999-07-10 17:26:09 +00:00
Bruce Momjian 04bfc5bbdf Update release for 6.5.1. 1999-07-10 17:16:05 +00:00
Bruce Momjian 5a3fa95c39 Update stuff for 6.5.1 release. 1999-07-10 16:28:02 +00:00
Thomas G. Lockhart 07c0de7d9d Update makefile to generate man pages.
Include first cut at instructions for man pages in docguide.sgml.
Fix markup.
1999-07-06 17:19:42 +00:00
Thomas G. Lockhart 7b09d4bacb Add missing paragraph end tag. 1999-07-06 17:18:31 +00:00
Thomas G. Lockhart 1e723ff015 Fix some markup, but probably not finished yet... 1999-07-06 17:17:31 +00:00