postgresql/doc/src/sgml/ref
Tom Lane 44d5be0e53 Implement SQL-standard WITH clauses, including WITH RECURSIVE.
There are some unimplemented aspects: recursive queries must use UNION ALL
(should allow UNION too), and we don't have SEARCH or CYCLE clauses.
These might or might not get done for 8.4, but even without them it's a
pretty useful feature.

There are also a couple of small loose ends and definitional quibbles,
which I'll send a memo about to pgsql-hackers shortly.  But let's land
the patch now so we can get on with other development.

Yoshiyuki Asaba, with lots of help from Tatsuo Ishii and Tom Lane
2008-10-04 21:56:55 +00:00
..
abort.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
allfiles.sgml Remove ipcclean utility command --- didn't work on all Unixes and on 2008-03-27 17:24:16 +00:00
alter_aggregate.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
alter_conversion.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
alter_database.sgml Support SET FROM CURRENT in CREATE/ALTER FUNCTION, ALTER DATABASE, ALTER ROLE. 2007-09-03 18:46:30 +00:00
alter_domain.sgml Fix my oversight in enabling domains-of-domains: ALTER DOMAIN ADD CONSTRAINT 2007-05-11 20:17:15 +00:00
alter_function.sgml Support "variadic" functions, which can accept a variable number of arguments 2008-07-16 01:30:23 +00:00
alter_group.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
alter_index.sgml Various fixes for the SGML docs. Consistently use spaces before/after 2007-05-15 19:13:55 +00:00
alter_language.sgml Allow non-superuser database owners to create procedural languages. 2007-03-26 16:58:41 +00:00
alter_opclass.sgml Add CREATE/ALTER/DROP OPERATOR FAMILY commands, also COMMENT ON OPERATOR 2007-01-23 05:07:18 +00:00
alter_operator.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
alter_opfamily.sgml Push index operator lossiness determination down to GIST/GIN opclass 2008-04-14 17:05:34 +00:00
alter_role.sgml Add example showing how to remove a password from a role. 2008-04-30 12:38:49 +00:00
alter_schema.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
alter_sequence.sgml Rearrange ALTER TABLE syntax processing as per my recent proposal: the 2008-06-15 01:25:54 +00:00
alter_table.sgml Change the rules for inherited CHECK constraints to be essentially the same 2008-05-09 23:32:05 +00:00
alter_tablespace.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
alter_trigger.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
alter_tsconfig.sgml Fix cut-n-paste-o. 2007-08-22 06:26:32 +00:00
alter_tsdictionary.sgml Another round of editorialization on the text search documentation. 2007-10-17 01:01:28 +00:00
alter_tsparser.sgml First rough cut at text search documentation: bare bones reference 2007-08-21 21:08:47 +00:00
alter_tstemplate.sgml First rough cut at text search documentation: bare bones reference 2007-08-21 21:08:47 +00:00
alter_type.sgml Support ALTER TYPE RENAME. Petr Jelinek 2008-03-19 18:38:30 +00:00
alter_user.sgml Support SET FROM CURRENT in CREATE/ALTER FUNCTION, ALTER DATABASE, ALTER ROLE. 2007-09-03 18:46:30 +00:00
alter_view.sgml Rearrange ALTER TABLE syntax processing as per my recent proposal: the 2008-06-15 01:25:54 +00:00
analyze.sgml A few improvements to analyze and vacuum sections in documentation: add "see 2007-10-07 01:16:42 +00:00
begin.sgml Fix a bunch of bad grammar in the docs: "<link>, which see for more 2007-05-15 19:43:51 +00:00
checkpoint.sgml Update reference documentation on may/can/might: 2007-01-31 23:26:05 +00:00
close.sgml Document that "ROLLBACK TO savepoint" does not un-close cursors. 2008-05-12 16:23:26 +00:00
cluster.sgml <optional> cannot be used here, because psql doesn't handle it. 2007-11-07 14:07:53 +00:00
clusterdb.sgml Make documentation of -W options more accurate and uniform. 2007-12-11 19:57:32 +00:00
comment.sgml Support "variadic" functions, which can accept a variable number of arguments 2008-07-16 01:30:23 +00:00
commit_prepared.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
commit.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
copy.sgml Document the fact that COPY always uses the client encoding. 2008-01-16 22:07:04 +00:00
create_aggregate.sgml Consistenly use colons before '<programlisting>' blocks, where 2007-02-01 00:28:19 +00:00
create_cast.sgml Allow I/O conversion casts to be applied to or from any type that is a member 2008-07-30 21:23:17 +00:00
create_constraint.sgml Improve documentation for CREATE CONSTRAINT TRIGGER. 2007-02-10 20:43:59 +00:00
create_conversion.sgml Remove "convert 'blah' using conversion_name" facility, because if it 2007-09-24 01:29:30 +00:00
create_database.sgml Make LC_COLLATE and LC_CTYPE database-level settings. Collation and 2008-09-23 09:20:39 +00:00
create_domain.sgml Consistenly use colons before '<programlisting>' blocks, where 2007-02-01 00:28:19 +00:00
create_function.sgml Implement SQL-spec RETURNS TABLE syntax for functions. 2008-07-18 03:32:53 +00:00
create_group.sgml Fix a bunch of bad grammar in the docs: "<link>, which see for more 2007-05-15 19:43:51 +00:00
create_index.sgml Multi-column GIN indexes. Teodor Sigaev 2008-07-11 21:06:29 +00:00
create_language.sgml Allow non-superuser database owners to create procedural languages. 2007-03-26 16:58:41 +00:00
create_opclass.sgml Push index operator lossiness determination down to GIST/GIN opclass 2008-04-14 17:05:34 +00:00
create_operator.sgml spell checker run 2007-11-28 15:42:31 +00:00
create_opfamily.sgml Minor editorialization on operator-family documentation: put some 2007-02-14 04:30:26 +00:00
create_role.sgml Use "alternative" instead of "alternate" where it is clearer. 2007-11-07 12:24:24 +00:00
create_rule.sgml Use "alternative" instead of "alternate" where it is clearer. 2007-11-07 12:24:24 +00:00
create_schema.sgml Update reference documentation on may/can/might: 2007-01-31 23:26:05 +00:00
create_sequence.sgml Update CREATE SEQUENCE documentation to show the same sequence being 2007-02-01 00:34:03 +00:00
create_table_as.sgml Create a GUC parameter temp_tablespaces that allows selection of the 2007-06-03 17:08:34 +00:00
create_table.sgml Change the rules for inherited CHECK constraints to be essentially the same 2008-05-09 23:32:05 +00:00
create_tablespace.sgml Update reference documentation on may/can/might: 2007-01-31 23:26:05 +00:00
create_trigger.sgml Support statement-level ON TRUNCATE triggers. Simon Riggs 2008-03-28 00:21:56 +00:00
create_tsconfig.sgml Remove option to change parser of an existing text search configuration. 2007-08-22 05:13:50 +00:00
create_tsdictionary.sgml Simplify the syntax of CREATE/ALTER TEXT SEARCH DICTIONARY by treating the 2007-08-22 01:39:46 +00:00
create_tsparser.sgml First rough cut at text search documentation: bare bones reference 2007-08-21 21:08:47 +00:00
create_tstemplate.sgml First rough cut at text search documentation: bare bones reference 2007-08-21 21:08:47 +00:00
create_type.sgml Require superuser privilege to create base types (but not composites, enums, 2008-07-31 16:27:16 +00:00
create_user.sgml Fix a bunch of bad grammar in the docs: "<link>, which see for more 2007-05-15 19:43:51 +00:00
create_view.sgml Add ALTER VIEW ... RENAME TO, and a RENAME TO clause to ALTER SEQUENCE. 2007-07-03 01:30:37 +00:00
createdb.sgml Make documentation of -W options more accurate and uniform. 2007-12-11 19:57:32 +00:00
createlang.sgml Make documentation of -W options more accurate and uniform. 2007-12-11 19:57:32 +00:00
createuser.sgml Make documentation of -W options more accurate and uniform. 2007-12-11 19:57:32 +00:00
deallocate.sgml RESET SESSION, plus related new DDL commands. Patch from Marko Kreen, 2007-04-12 06:53:49 +00:00
declare.sgml Disallow scrolling of FOR UPDATE/FOR SHARE cursors, so as to avoid problems 2007-10-24 23:27:08 +00:00
delete.sgml Allow AS to be omitted when specifying an output column name in SELECT 2008-02-15 22:17:06 +00:00
discard.sgml Minor tweak for DISCARD ref page. 2007-04-26 18:00:24 +00:00
drop_aggregate.sgml Various fixes for the SGML docs. Consistently use spaces before/after 2007-05-15 19:13:55 +00:00
drop_cast.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
drop_conversion.sgml Update reference documentation on may/can/might: 2007-01-31 23:26:05 +00:00
drop_database.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
drop_domain.sgml Various fixes for the SGML docs. Consistently use spaces before/after 2007-05-15 19:13:55 +00:00
drop_function.sgml Support "variadic" functions, which can accept a variable number of arguments 2008-07-16 01:30:23 +00:00
drop_group.sgml Fix a bunch of bad grammar in the docs: "<link>, which see for more 2007-05-15 19:43:51 +00:00
drop_index.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
drop_language.sgml Various fixes for the SGML docs. Consistently use spaces before/after 2007-05-15 19:13:55 +00:00
drop_opclass.sgml Update reference documentation on may/can/might: 2007-01-31 23:26:05 +00:00
drop_operator.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
drop_opfamily.sgml Add CREATE/ALTER/DROP OPERATOR FAMILY commands, also COMMENT ON OPERATOR 2007-01-23 05:07:18 +00:00
drop_owned.sgml Update reference documentation on may/can/might: 2007-01-31 23:26:05 +00:00
drop_role.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
drop_rule.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
drop_schema.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
drop_sequence.sgml Various fixes for the SGML docs. Consistently use spaces before/after 2007-05-15 19:13:55 +00:00
drop_table.sgml Various fixes for the SGML docs. Consistently use spaces before/after 2007-05-15 19:13:55 +00:00
drop_tablespace.sgml Create a GUC parameter temp_tablespaces that allows selection of the 2007-06-03 17:08:34 +00:00
drop_trigger.sgml Various fixes for the SGML docs. Consistently use spaces before/after 2007-05-15 19:13:55 +00:00
drop_tsconfig.sgml First rough cut at text search documentation: bare bones reference 2007-08-21 21:08:47 +00:00
drop_tsdictionary.sgml First rough cut at text search documentation: bare bones reference 2007-08-21 21:08:47 +00:00
drop_tsparser.sgml First rough cut at text search documentation: bare bones reference 2007-08-21 21:08:47 +00:00
drop_tstemplate.sgml First rough cut at text search documentation: bare bones reference 2007-08-21 21:08:47 +00:00
drop_type.sgml Various fixes for the SGML docs. Consistently use spaces before/after 2007-05-15 19:13:55 +00:00
drop_user.sgml Fix a bunch of bad grammar in the docs: "<link>, which see for more 2007-05-15 19:43:51 +00:00
drop_view.sgml Add ALTER VIEW ... RENAME TO, and a RENAME TO clause to ALTER SEQUENCE. 2007-07-03 01:30:37 +00:00
dropdb.sgml Make documentation of -W options more accurate and uniform. 2007-12-11 19:57:32 +00:00
droplang.sgml Make documentation of -W options more accurate and uniform. 2007-12-11 19:57:32 +00:00
dropuser.sgml Make documentation of -W options more accurate and uniform. 2007-12-11 19:57:32 +00:00
ecpg-ref.sgml Update reference documentation on may/can/might: 2007-01-31 23:26:05 +00:00
end.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
execute.sgml Various fixes for the SGML docs. Consistently use spaces before/after 2007-05-15 19:13:55 +00:00
explain.sgml Cause EXPLAIN's VERBOSE option to print the target list (output column list) 2008-04-18 01:42:17 +00:00
fetch.sgml Remove obsolete statement that you can't update through a cursor. 2007-10-24 22:55:52 +00:00
grant.sgml Create a separate grantable privilege for TRUNCATE, rather than having it be 2008-09-08 00:47:41 +00:00
initdb.sgml Make LC_COLLATE and LC_CTYPE database-level settings. Collation and 2008-09-23 09:20:39 +00:00
insert.sgml Allow AS to be omitted when specifying an output column name in SELECT 2008-02-15 22:17:06 +00:00
listen.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
load.sgml Update reference documentation on may/can/might: 2007-01-31 23:26:05 +00:00
lock.sgml Create a separate grantable privilege for TRUNCATE, rather than having it be 2008-09-08 00:47:41 +00:00
move.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
notify.sgml Wording cleanup for error messages. Also change can't -> cannot. 2007-02-01 19:10:30 +00:00
pg_config-ref.sgml Added --htmldir option to pg_config, equivalent to the new configure option. 2008-02-18 14:51:48 +00:00
pg_controldata.sgml Make LC_COLLATE and LC_CTYPE database-level settings. Collation and 2008-09-23 09:20:39 +00:00
pg_ctl-ref.sgml Remove use of postmaster.opts.default by pg_ctl. 2008-06-26 01:12:20 +00:00
pg_dump.sgml Fix pg_dump docs to acknowledge that you can use -Z with plain text output. Pointed out by Daniel Migowski. 2008-08-26 00:03:15 +00:00
pg_dumpall.sgml Fixup pg_dumpall adding --lock-wait-timeout, to match pg_dump. 2008-08-29 17:28:43 +00:00
pg_resetxlog.sgml Make LC_COLLATE and LC_CTYPE database-level settings. Collation and 2008-09-23 09:20:39 +00:00
pg_restore.sgml Clarify description of pg_restore's handling of large objects. 2008-09-07 19:12:57 +00:00
postgres-ref.sgml Minor copy-editing. 2007-07-09 01:08:09 +00:00
postmaster.sgml Merge postmaster and postgres command into just postgres. postmaster 2006-06-18 15:38:37 +00:00
prepare_transaction.sgml Fix LISTEN/NOTIFY race condition reported by Laurent Birtz, by postponing 2008-03-12 20:11:46 +00:00
prepare.sgml Various fixes for the SGML docs. Consistently use spaces before/after 2007-05-15 19:13:55 +00:00
psql-ref.sgml Adjust psql's new \ef command to present an empty CREATE FUNCTION template 2008-09-06 20:18:08 +00:00
reassign_owned.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
reindex.sgml Remove no-longer-accurate claim that REINDEX won't invalidate cached 2007-11-18 18:42:03 +00:00
reindexdb.sgml Make documentation of -W options more accurate and uniform. 2007-12-11 19:57:32 +00:00
release_savepoint.sgml Update reference documentation on may/can/might: 2007-01-31 23:26:05 +00:00
reset.sgml Arrange for SET LOCAL's effects to persist until the end of the current top 2007-09-11 00:06:42 +00:00
revoke.sgml Create a separate grantable privilege for TRUNCATE, rather than having it be 2008-09-08 00:47:41 +00:00
rollback_prepared.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
rollback_to.sgml Wording cleanup for error messages. Also change can't -> cannot. 2007-02-01 19:10:30 +00:00
rollback.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
savepoint.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
select_into.sgml Implement SQL-standard WITH clauses, including WITH RECURSIVE. 2008-10-04 21:56:55 +00:00
select.sgml Implement SQL-standard WITH clauses, including WITH RECURSIVE. 2008-10-04 21:56:55 +00:00
set_constraints.sgml Improve documentation for CREATE CONSTRAINT TRIGGER. 2007-02-10 20:43:59 +00:00
set_role.sgml Make standard maintenance operations (including VACUUM, ANALYZE, REINDEX, 2008-01-03 21:23:15 +00:00
set_session_auth.sgml Make standard maintenance operations (including VACUUM, ANALYZE, REINDEX, 2008-01-03 21:23:15 +00:00
set_transaction.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
set.sgml Document and enforce that the usable range of setseed() arguments is 2008-03-10 12:39:23 +00:00
show.sgml Make LC_COLLATE and LC_CTYPE database-level settings. Collation and 2008-09-23 09:20:39 +00:00
start_transaction.sgml Update reference documentation on may/can/might: 2007-01-31 23:26:05 +00:00
truncate.sgml Create a separate grantable privilege for TRUNCATE, rather than having it be 2008-09-08 00:47:41 +00:00
unlisten.sgml Update reference documentation on may/can/might: 2007-01-31 23:26:05 +00:00
update.sgml Allow AS to be omitted when specifying an output column name in SELECT 2008-02-15 22:17:06 +00:00
vacuum.sgml Rewrite the FSM. Instead of relying on a fixed-size shared memory segment, the 2008-09-30 10:52:14 +00:00
vacuumdb.sgml Make documentation of -W options more accurate and uniform. 2007-12-11 19:57:32 +00:00
values.sgml Consistenly use colons before '<programlisting>' blocks, where 2007-02-01 00:28:19 +00:00