postgresql/doc/src/sgml/ref
Tom Lane 6f7fc0bade Cause initdb to create a third standard database "postgres", which
unlike template0 and template1 does not have any special status in
terms of backend functionality.  However, all external utilities such
as createuser and createdb now connect to "postgres" instead of
template1, and the documentation is changed to encourage people to use
"postgres" instead of template1 as a play area.  This should fix some
longstanding gotchas involving unexpected propagation of database
objects by createdb (when you used template1 without understanding
the implications), as well as ameliorating the problem that CREATE
DATABASE is unhappy if anyone else is connected to template1.
Patch by Dave Page, minor editing by Tom Lane.  All per recent
pghackers discussions.
2005-06-21 04:02:34 +00:00
..
abort.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
allfiles.sgml Two-phase commit. Original patch by Heikki Linnakangas, with additional 2005-06-17 22:32:51 +00:00
alter_aggregate.sgml Support renaming of tablespaces, and changing the owners of 2004-06-25 21:55:59 +00:00
alter_conversion.sgml Rename canonical encodings, per Peter: 2005-03-07 04:30:55 +00:00
alter_database.sgml Revert cosmetic synopsis changes that break psql translations. 2005-01-05 14:22:39 +00:00
alter_domain.sgml Tab cleanup for SGML. 2005-05-31 14:48:47 +00:00
alter_function.sgml Document that utility commands such as DROP FUNCTION allow argument names 2005-05-26 20:05:03 +00:00
alter_group.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
alter_index.sgml Allow ALTER FUNCTION to change a function's strictness, volatility, and 2005-03-14 00:19:37 +00:00
alter_language.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
alter_opclass.sgml Support renaming of tablespaces, and changing the owners of 2004-06-25 21:55:59 +00:00
alter_operator.sgml Support renaming of tablespaces, and changing the owners of 2004-06-25 21:55:59 +00:00
alter_schema.sgml Support renaming of tablespaces, and changing the owners of 2004-06-25 21:55:59 +00:00
alter_sequence.sgml Update of conformance information to SQL:2003 2004-11-27 21:27:08 +00:00
alter_table.sgml Incorporate examples and doc patches from Mark Kirkwood and David Fetter. 2005-01-14 01:16:52 +00:00
alter_tablespace.sgml Support renaming of tablespaces, and changing the owners of 2004-06-25 21:55:59 +00:00
alter_trigger.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
alter_type.sgml Support renaming of tablespaces, and changing the owners of 2004-06-25 21:55:59 +00:00
alter_user.sgml Re-readjust synopses for CREATE/ALTER USER. 2005-01-06 00:11:14 +00:00
analyze.sgml Refer to GUC variables using <xref> tags rather than <varname> tags, 2004-03-09 16:57:47 +00:00
begin.sgml Allow commas in BEGIN, START TRANSACTION, and SET TRANSACTION, as required 2004-08-12 21:00:34 +00:00
checkpoint.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
close.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
cluster.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
clusterdb.sgml Add reference to libpq environment variables for client applications. 2005-05-29 03:32:18 +00:00
comment.sgml Remove grammar productions for prefix and postfix % and ^ operators, 2005-06-08 21:15:29 +00:00
commit.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
commit_prepared.sgml Two-phase commit. Original patch by Heikki Linnakangas, with additional 2005-06-17 22:32:51 +00:00
copy.sgml Add support for \x hex escapes in COPY. 2005-06-02 01:21:22 +00:00
create_aggregate.sgml Add aggsortop column to pg_aggregate, so that MIN/MAX optimization can 2005-04-12 04:26:34 +00:00
create_cast.sgml Spell checker run 2004-12-13 18:05:10 +00:00
create_constraint.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
create_conversion.sgml Alter the signature for encoding conversion functions to declare the 2005-05-03 19:17:59 +00:00
create_database.sgml Improvements to the CREATE DATABASE reference page's description of the 2004-10-29 03:17:22 +00:00
create_domain.sgml Add some missing "See Also" entries to the domain-related SQL reference 2005-05-02 01:52:50 +00:00
create_function.sgml First phase of OUT-parameters project. We can now define and use SQL 2005-03-31 22:46:33 +00:00
create_group.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
create_index.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
create_language.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
create_opclass.sgml Incorporate examples and doc patches from Mark Kirkwood and David Fetter. 2005-01-14 01:16:52 +00:00
create_operator.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
create_rule.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
create_schema.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
create_sequence.sgml Update of conformance information to SQL:2003 2004-11-27 21:27:08 +00:00
create_table.sgml Add support for temporary views, including documentation and regression 2005-02-02 06:36:02 +00:00
create_table_as.sgml Some more small improvements in response to 7.4 interactive docs comments. 2005-01-09 05:57:45 +00:00
create_tablespace.sgml Create 'default_tablespace' GUC variable that supplies a TABLESPACE 2004-11-05 19:17:13 +00:00
create_trigger.sgml Update of conformance information to SQL:2003 2004-11-27 21:27:08 +00:00
create_type.sgml Change CREATE TYPE to require datatype output and send functions to have 2005-05-01 18:56:19 +00:00
create_user.sgml Re-readjust synopses for CREATE/ALTER USER. 2005-01-06 00:11:14 +00:00
create_view.sgml Add support for temporary views, including documentation and regression 2005-02-02 06:36:02 +00:00
createdb.sgml Add reference to libpq environment variables for client applications. 2005-05-29 03:32:18 +00:00
createlang.sgml Cause initdb to create a third standard database "postgres", which 2005-06-21 04:02:34 +00:00
createuser.sgml Add reference to libpq environment variables for client applications. 2005-05-29 03:32:18 +00:00
deallocate.sgml Add more index entries for reference pages related to prepare queries. 2004-09-30 04:23:27 +00:00
declare.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
delete.sgml Change the default setting of "add_missing_from" to false. This has been 2005-04-08 00:59:59 +00:00
drop_aggregate.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
drop_cast.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
drop_conversion.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
drop_database.sgml Cause initdb to create a third standard database "postgres", which 2005-06-21 04:02:34 +00:00
drop_domain.sgml Add some missing "See Also" entries to the domain-related SQL reference 2005-05-02 01:52:50 +00:00
drop_function.sgml Document that utility commands such as DROP FUNCTION allow argument names 2005-05-26 20:05:03 +00:00
drop_group.sgml Some more small improvements in response to 7.4 interactive docs comments. 2005-01-09 05:57:45 +00:00
drop_index.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
drop_language.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
drop_opclass.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
drop_operator.sgml Support renaming of tablespaces, and changing the owners of 2004-06-25 21:55:59 +00:00
drop_rule.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
drop_schema.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
drop_sequence.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
drop_table.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
drop_tablespace.sgml Support renaming of tablespaces, and changing the owners of 2004-06-25 21:55:59 +00:00
drop_trigger.sgml Minor documentation cleanup and improvement. 2004-09-20 00:04:19 +00:00
drop_type.sgml Support renaming of tablespaces, and changing the owners of 2004-06-25 21:55:59 +00:00
drop_user.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
drop_view.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
dropdb.sgml Add reference to libpq environment variables for client applications. 2005-05-29 03:32:18 +00:00
droplang.sgml Add reference to libpq environment variables for client applications. 2005-05-29 03:32:18 +00:00
dropuser.sgml Add reference to libpq environment variables for client applications. 2005-05-29 03:32:18 +00:00
ecpg-ref.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
end.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
execute.sgml Add more index entries for reference pages related to prepare queries. 2004-09-30 04:23:27 +00:00
explain.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
fetch.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
grant.sgml Document that utility commands such as DROP FUNCTION allow argument names 2005-05-26 20:05:03 +00:00
initdb.sgml Cause initdb to create a third standard database "postgres", which 2005-06-21 04:02:34 +00:00
insert.sgml Some more small improvements in response to 7.4 interactive docs comments. 2005-01-09 05:57:45 +00:00
ipcclean.sgml More minor updates and copy-editing. 2005-01-04 03:58:16 +00:00
listen.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
load.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
lock.sgml Implement sharable row-level locks, and use them for foreign key references 2005-04-28 21:47:18 +00:00
move.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
notify.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
pg_config-ref.sgml Add example for pg_config --configure. 2005-06-09 18:15:05 +00:00
pg_controldata.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
pg_ctl-ref.sgml Document the "register" and "unregister" pg_ctl subcommands, for use on 2005-02-21 02:13:26 +00:00
pg_dump.sgml Add reference to libpq environment variables for client applications. 2005-05-29 03:32:18 +00:00
pg_dumpall.sgml Cause initdb to create a third standard database "postgres", which 2005-06-21 04:02:34 +00:00
pg_resetxlog.sgml Change WAL-logging scheme for multixacts to be more like regular 2005-06-08 15:50:28 +00:00
pg_restore.sgml Since I needed this feature badly, I added the -n / --schema switch to 2005-06-09 17:56:51 +00:00
postgres-ref.sgml Replace "--" and "---" with "&mdash;" as appropriate, for better-looking 2004-11-15 06:32:15 +00:00
postmaster.sgml Whack some sense into the configuration-file-location patch. 2004-10-08 01:36:36 +00:00
prepare.sgml Fix broken example for PREPARE. 2004-10-29 19:40:33 +00:00
prepare_transaction.sgml Two-phase commit. Original patch by Heikki Linnakangas, with additional 2005-06-17 22:32:51 +00:00
psql-ref.sgml Add -L option to psql to log sessions. 2005-06-14 02:57:45 +00:00
reindex.sgml More < and > changes to ampersands. 2005-01-22 23:22:19 +00:00
release_savepoint.sgml Adjust examples to avoid using keywords as identifiers, per Honda Shigehiro. 2005-01-06 20:53:34 +00:00
reset.sgml This patch fixes a few more uppercase GUC vars. I also removed an 2003-12-14 00:15:03 +00:00
revoke.sgml Document that utility commands such as DROP FUNCTION allow argument names 2005-05-26 20:05:03 +00:00
rollback.sgml Some mop-up work for savepoints (nested transactions). Store a small 2004-08-01 17:32:22 +00:00
rollback_prepared.sgml Two-phase commit. Original patch by Heikki Linnakangas, with additional 2005-06-17 22:32:51 +00:00
rollback_to.sgml Close all cursors created during a failed subtransaction. This is needed 2005-01-26 23:20:21 +00:00
savepoint.sgml Adjust examples to avoid using keywords as identifiers, per Honda Shigehiro. 2005-01-06 20:53:34 +00:00
select.sgml Documentation adjustments. 2005-05-08 03:08:05 +00:00
select_into.sgml Implement sharable row-level locks, and use them for foreign key references 2005-04-28 21:47:18 +00:00
set.sgml Update documentation to reflect the fact that we now know exactly what 2004-08-10 00:55:08 +00:00
set_constraints.sgml Fire non-deferred AFTER triggers immediately upon query completion, 2004-09-10 18:40:09 +00:00
set_session_auth.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
set_transaction.sgml Fix misstatement in docs: CREATE TABLE AS is now part of the standard. 2004-09-26 23:48:07 +00:00
show.sgml Have SHOW ALL include variable descriptions. 2005-06-14 20:42:53 +00:00
start_transaction.sgml Minor documentation cleanup and improvement. 2004-09-20 00:04:19 +00:00
truncate.sgml Document that only a table's owner may TRUNCATE it. Per Keith Worthington. 2005-02-22 19:06:18 +00:00
unlisten.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
update.sgml Some more small improvements in response to 7.4 interactive docs comments. 2005-01-09 05:57:45 +00:00
vacuum.sgml Disallow the combination VACUUM FULL FREEZE for safety's sake, for the 2004-12-02 19:28:49 +00:00
vacuumdb.sgml Add reference to libpq environment variables for client applications. 2005-05-29 03:32:18 +00:00