Commit Graph

3560 Commits

Author SHA1 Message Date
Bruce Momjian 021146f375 improve manual page 1999-10-26 04:40:58 +00:00
Bruce Momjian 912b3a6fe9 More comments. 1999-10-26 03:53:35 +00:00
Bruce Momjian b6d6cffa99 Add documentation for comment. 1999-10-26 03:48:58 +00:00
Bruce Momjian 2d12ee3f71 Update psql \? for \w. 1999-10-14 01:28:42 +00:00
Thomas G. Lockhart 5a2085392c Fix bad markup.
<term> not allowed in paragraphs; <option> is a better choice.
1999-10-12 13:59:45 +00:00
Bruce Momjian ae61ef34bd Cleanup -is flag to -l for SSL. Another PERL variable name fix. Clean
up debugging options for postmaster and postgres programs.  postmaster
-d is no longer optional.  Documentation updates.
1999-10-08 04:28:57 +00:00
Bruce Momjian 558833cadd Add quotes to password example. 1999-10-07 16:40:36 +00:00
Bruce Momjian 59844a65dd Fix typo in sgml source. 1999-10-04 04:37:46 +00:00
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
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
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
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 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
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 1e723ff015 Fix some markup, but probably not finished yet... 1999-07-06 17:17:31 +00:00
Thomas G. Lockhart a4ac2f458e Fix markup for docbook2man man page generation.
No big deal; fixed lots of other markup at the same time.
Bigest change: make sure there is no whitespace
 in front of <term> contents.
This will probably help the other output types too.
1999-07-06 17:16:42 +00:00
Thomas G. Lockhart cb88fd192b Update maximum identifier length from 15 to 31 characters. 1999-06-23 06:09:57 +00:00
Bruce Momjian 4c65382596 Remove QUERY_LIMIT and documenation on same. Change _ALIGN to TYPEALIGN
for Irix.
1999-06-17 15:16:09 +00:00
Thomas G. Lockhart 1b93294ff5 Fix cross-reference to large objects. 1999-06-14 16:33:46 +00:00
Thomas G. Lockhart 1ac838edba Minor updates for release.
Split reference pages for CREATE TABLE AS and SELECT INTO to allow psgml
 (the emacs parser) to handle parsing.
1999-06-14 07:37:05 +00:00
Vadim B. Mikheev 962c66d83f More about chained mode and isolation levels. 1999-06-11 05:19:53 +00:00
Thomas G. Lockhart 3f86238f13 Make minor changes in wording.
Adjust tags to get a clean build.
1999-06-09 13:43:42 +00:00
Vadim B. Mikheev c0b4b42c92 MVCC updation. 1999-06-08 20:01:01 +00:00
Thomas G. Lockhart ebfbb79f25 Add input parameters for LOCK TABLE. Still needs explanation from Vadim.
Fix markup.
1999-06-04 15:50:44 +00:00
Bruce Momjian f0f416a2d3 Add mention of SHARE ROW EXCLUSIVE mode. 1999-06-04 04:28:54 +00:00
Bruce Momjian 8760d33abb man page cleanup for vadim. 1999-06-04 04:16:11 +00:00
Bruce Momjian 5a7547d3fc Add description for SET TRANSACTION. 1999-06-04 03:44:42 +00:00
Bruce Momjian 0bddf3da81 cleanup 1999-06-03 20:45:08 +00:00
Bruce Momjian a6ed4794a3 SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;
SET TRANSACTION ISOLATION LEVEL READ COMMITTED;
                                ^^^^ required

Also note that SET TRANSACTION ISOLATION LEVEL change
isolevel for _current_ transaction, in accordance with
standard, not for session (ALTER SESSION is used in Oracle,
but it's not implemented currently).

And I would don't mention SET XACTISOLEVEL TO ...
form at all.

Please update set.sgml - I failed to understand all these

SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">

now.


for Vadim
1999-06-03 20:44:28 +00:00
Bruce Momjian 155b5808ca Thanks for this, but SET TRANSACTION ISOLATION LEVEL
should be described like SET TIME ZONE: TO is not allowed, as well
as DEFAULT option. There are only two forms:

for Vadim.
1999-06-03 20:42:18 +00:00
Bruce Momjian a4a5f56202 Add mention of FOR UPDATE and LIMIT/OFFSET> 1999-06-03 19:52:09 +00:00
Bruce Momjian e1ea7cc2e5 Update lock sgml/man/psql help pages. 1999-06-03 19:18:00 +00:00
Bruce Momjian 4a077caa60 Add SET TRANSACTION ISOLATION LEVEL and SET NAMES mention. 1999-06-03 18:38:00 +00:00
Bruce Momjian fa0ed6f047 Update SET commands for psql \h, man pages, and sgml. 1999-06-03 18:18:43 +00:00
Bruce Momjian 615e77ede2 Make pg_dump dump ACL's by default, print warning on use of -z, and add
new -x option to skip acl dump.
1999-05-27 16:29:05 +00:00
Thomas G. Lockhart 5b1b477cca Markup fixes. 1999-05-27 15:49:15 +00:00
Thomas G. Lockhart bb0fc46a90 Add new reference pages for postmaster and postgres.
Normalize markup for vacuumdb; content is the same.
1999-05-26 17:26:32 +00:00
Thomas G. Lockhart ff8bf5a0ef First copy from the man pages.
postgres-ref.sgml is not yet marked up.
1999-05-26 17:25:38 +00:00
Thomas G. Lockhart 165b830ea5 Add reference pages on user interface applications. 1999-05-20 05:40:27 +00:00
Tom Lane c3a4d8ed54 Very minor improvements in CREATE OPERATOR docs. 1999-05-20 03:22:01 +00:00
Tom Lane c9f8ab6fba Update CREATE FUNCTION docs: mention use of AS clause with
INTERNAL functions, add a warning about trying to overload function names
for dynamically loaded C functions (from old man page).
1999-05-20 02:57:15 +00:00
Thomas G. Lockhart 6a982fc6a7 Minor wording change. 1999-05-12 07:34:02 +00:00
Bruce Momjian 0b4fab42c3 Update man page for select 1999-05-10 18:22:48 +00:00
Bruce Momjian fc08814e00 Rename explain's "size" to "rows". 1999-04-23 21:23:49 +00:00
Tom Lane 630ed05063 Correct documentation of CREATE OPERATOR. 1999-04-15 00:09:00 +00:00
Tatsuo Ishii adf5422d79 Add -E option 1999-04-13 09:46:58 +00:00
Thomas G. Lockhart 7fcbc5ddf0 Fix markup to include all closing tags.
Required by newest versions of DocBook and style sheets.
1999-04-06 15:41:20 +00:00
Thomas G. Lockhart 107eb78fd4 Repair cut-and-paste typo which described createdb rather than destroydb. 1999-03-30 15:24:49 +00:00
Bruce Momjian 0d01fd4e19 Add EXCEPT/INTERSECT doc changes. 1999-03-19 02:41:41 +00:00
Bruce Momjian a564d2bf0f geqo now at 11 tables 1999-03-07 12:00:40 +00:00
Bruce Momjian b4e7510e09 Enable bushy and right-hand queries by default. 1999-02-18 06:01:11 +00:00
Bruce Momjian 61aa825876 Optimizer rename. 1999-02-14 04:57:02 +00:00
Thomas G. Lockhart dcded41895 Minor markup changes for the recent TEMP TABLE info.
Docs should build now...
1999-02-13 03:33:50 +00:00
Thomas G. Lockhart b106421473 More complete info from Oliver Elphick. 1999-02-13 03:32:43 +00:00
Bruce Momjian f1b7823471 Make GEQO use dependent on table and index count. 1999-02-02 20:30:18 +00:00
Bruce Momjian 8e958b8a38 Fix create_rule is->as. 1999-02-02 17:46:17 +00:00
Bruce Momjian 4390b0bfbe Add TEMP tables/indexes. Add COPY pfree(). Other cleanups. 1999-02-02 03:45:56 +00:00
Bruce Momjian 289a826dab Here is a new version of my patch for allowing pg_dump to DROP schema
elements prior to CREATEing new ones.  It is under control of the -c
command line option (with the default being status quo).

The DROP TRIGGER portion still needs implementation.  Anyone able to
help clarify what exactly the CREATE TRIGGER portion does so I can fix
this?

Again, I have tried this with tables/indexes/sequences, but do not
have other schema elements in my database.  As a result, I am not 100%
convinced that I got the syntax correct in all cases (but think I did,
nonetheless).  If anyone can check the other cases, I'd appreciate it.

Cheers,
Brook

[I added manual page and sgml additions for the new -c option.]
1999-01-21 22:53:37 +00:00
Thomas G. Lockhart a75f2d21a8 Clean up to ensure tag completion as required by the newest versions
of Norm's Modular Style Sheets and jade/docbook.
From Vince Vielhaber <vev@michvhf.com>.
1998-12-29 02:24:47 +00:00
Thomas G. Lockhart 5ac3cd0f0c Include example of Postgres' extended query syntax which allow one to omit
the FROM clause. e.g. "SELECT table.*".
1998-12-18 16:22:31 +00:00
Thomas G. Lockhart d85df9cae2 Add new "-N" flag to force double quotes around identifiers.
Fix missing mention of "-n" flag in synopsis.
1998-11-14 02:04:16 +00:00
Thomas G. Lockhart 9bc35facdc Add id attribute to reftitle to allow cross referencing from the new
vaccumdb reference page.
1998-11-14 02:02:53 +00:00
Thomas G. Lockhart e44087d827 Add reference page for new vacuumdb utility. 1998-11-14 02:01:40 +00:00
Thomas G. Lockhart 3d83e28b2b Minor cleanup in markup, especially in the Output section. 1998-10-30 19:34:40 +00:00
Bruce Momjian ba74ce73bb Fix from Tom Lane for pg_shadow in pg_upgrade 1998-10-25 02:47:38 +00:00
Thomas G. Lockhart 0958666ce6 Minor fixes in markup.
Include cross-references in NOTIFY and UNLISTEN.
1998-10-21 05:34:12 +00:00
Tom Lane 5f27ac6b5e Minor documentation improvements and markup fixes. 1998-10-17 22:02:21 +00:00
Bruce Momjian 3c4e2bc9be SGML updates from post 6.3.2 manual changes. Added pg_upgrade man page. 1998-10-15 05:47:04 +00:00
Thomas G. Lockhart 6129de0b76 Remove duplicate entry for R_PLAN (thanks Bruce).
Add entry for undocumented (?) KSQO.
1998-10-14 16:31:28 +00:00
Thomas G. Lockhart 963ed0e72a Minor markup adjustment. 1998-10-14 16:30:17 +00:00
Bruce Momjian 8cec4cf91b New QUERY_LIMIT set command. 1998-10-14 05:10:12 +00:00
Thomas G. Lockhart 5a61590e48 Add new "-n" flag to pg_dump.
Update UNLISTEN to not require double-quotes around the wildcard argument.
Clean up markup.
1998-10-10 17:13:47 +00:00
Tom Lane f1fef841c3 Grammar, my boy, grammar :-( 1998-10-08 01:28:58 +00:00
Tom Lane ad567f07be Link unlisten.sgml into what I hope are the right places. 1998-10-08 00:19:49 +00:00
Tom Lane ac5a8b9ab5 And some UNLISTEN doco too! 1998-10-08 00:19:13 +00:00
Tom Lane 55a5639e93 LISTEN/NOTIFY doc improvements. 1998-10-08 00:18:31 +00:00
Bruce Momjian 252568dc11 Update pg_dump sgml and manuals to remove rule restriction. 1998-10-07 02:49:10 +00:00
Bruce Momjian 3abf496b8e > > There is a bug in check_foreign_key of refint.c which is bundled with
> > the standard distribution. It occurs when a trigger calling this
> > function recursively fires another trigger which calls the same
> > function. The calling check_foreign_key loses its plan informantion and
> > when it tries to use it the backend closes its channel. You can check it
> > with the sql script I am attaching below.
> > The solution to this is to do a find_plan again before executing it at
> > line 483 of refint.c.
> > Therefore two more lines should be added before line 483:

Anand Surelia
1998-10-06 03:12:59 +00:00
Thomas G. Lockhart 37d2f76ef7 Add new information for utility commands.
Haven't yet done cleardbdir, ipcclean, pg_passwd, and pg_upgrade.
Add reference info for the SQL VACUUM command (oops, forgot it earlier).
1998-10-05 02:54:45 +00:00
Thomas G. Lockhart d1a3b7528d Add new SQL reference page and the first utility/app reference page
converted from the man page.
1998-09-30 05:38:56 +00:00
Thomas G. Lockhart f8b6b5f14f Cleanup markup and minor editing to prepare for first release. 1998-09-25 13:42:46 +00:00
Thomas G. Lockhart 52ca2ab268 Editing and markup cleanup. 1998-09-22 15:48:03 +00:00
Thomas G. Lockhart d2a907c6ad Markup and editing adjustments... 1998-09-16 14:43:12 +00:00
Thomas G. Lockhart 6866cbc7c7 Very minor formatting fixup in the refentry id field to remove
the trailing "-1". This makes a cleaner html output file name.
Clean up a few refpurpose fields.
1998-09-07 15:58:31 +00:00
Thomas G. Lockhart 95af0cb9bb Fix Postgres to support SQL92 syntax. Old syntax still works too. 1998-09-07 15:56:20 +00:00
Thomas G. Lockhart 4dce924b62 Minor wording and formatting cleanups. 1998-09-07 15:54:08 +00:00
Thomas G. Lockhart b6bdc43522 Add new reference pages. This completes the first cut at a full set
for SQL commands.
1998-09-07 15:53:12 +00:00
Thomas G. Lockhart 7d1e32b51c Add new reference pages adapted from Jose'. 1998-09-05 06:02:57 +00:00
Thomas G. Lockhart 3a29400141 Minor fix to add paragraph break. 1998-09-05 06:01:56 +00:00
Thomas G. Lockhart e6c1fbab5c Add more new pages. 1998-09-02 03:01:02 +00:00
Thomas G. Lockhart 1660e300e2 Add new files from Oliver and Thomas. 1998-09-01 15:53:09 +00:00
Thomas G. Lockhart 9ce4ae80dd Enhanced the allowed constraint syntax, so remove mention of the problem. 1998-08-17 16:15:31 +00:00
Thomas G. Lockhart a80f034dc2 Make minor formatting improvements to statement synopses.
Make sure all files end with a newline.
1998-08-15 07:00:37 +00:00
Thomas G. Lockhart ccee8e5576 Somehow had substituted this file for the contents of allfiles.sgml.
This should be the right thing now...
1998-07-29 07:01:58 +00:00
Thomas G. Lockhart 64fbd1fb12 Add new files from Oliver Elphick. 1998-07-29 06:23:26 +00:00
Thomas G. Lockhart a9d76d0108 Fix minor end-of-file formatting. 1998-07-29 06:21:57 +00:00
Thomas G. Lockhart 3733bd4627 First version of files from Oliver Elphick. 1998-07-14 03:47:34 +00:00
Thomas G. Lockhart 03fb60c52e Fix suggestions on file protection for alternate DB locations. 1998-07-08 13:54:26 +00:00
Thomas G. Lockhart f2764eea42 Clarify ownership and security issues with alternate db locations. 1998-05-29 13:16:36 +00:00
Thomas G. Lockhart 7402eda97c First files for reference pages. 1998-05-13 05:34:00 +00:00