postgresql/src/include/catalog
Peter Eisentraut c0d4d5473a Make the world somewhat safe for (not from) DELETE FROM pg_shadow;
Assign the fixed user id 1 to the user created by initdb.
A stand-alone backend will always set the user id to 1.
(Consequently, the name of that user is no longer important.)

In stand-alone mode, the user id 1 will have implicit superuser
status, to allow repairs even if there are no users defined.

Print a warning message when starting in stand-alone mode when no
users are defined.

Disallow dropping the current user and session user.

Granting/revoking superuser status also grants/revokes usecatupd.
(Previously, it would never grant it back.  This could lead to "deadlocks".)

CREATE USER and CREATE GROUP will start allocating user ids at 100
(unless explicitly specified), to prevent accidental creation of a
superuser (plus some room for future extensions).
2001-09-08 15:24:00 +00:00
..
catalog.h Remove OLD_FILE_NAMING code. No longer used. 2001-05-30 20:52:34 +00:00
catname.h Replace implementation of pg_log as a relation accessed through the 2001-08-25 18:52:43 +00:00
catversion.h Make the world somewhat safe for (not from) DELETE FROM pg_shadow; 2001-09-08 15:24:00 +00:00
duplicate_oids heap_fetch requires buffer pointer, must be released; heap_getnext 1998-08-19 02:04:17 +00:00
heap.h Make OIDs optional, per discussions in pghackers. WITH OIDS is still the 2001-08-10 18:57:42 +00:00
index.h Restructure pg_opclass, pg_amop, and pg_amproc per previous discussions in 2001-08-21 16:36:06 +00:00
indexing.h Restructure pg_opclass, pg_amop, and pg_amproc per previous discussions in 2001-08-21 16:36:06 +00:00
pg_aggregate.h sum() on int2 and int4 columns now uses an int8, not numeric, accumulator 2001-08-14 22:21:59 +00:00
pg_am.h Restructure index AM interface for index building and index tuple deletion, 2001-07-15 22:48:19 +00:00
pg_amop.h Restructure pg_opclass, pg_amop, and pg_amproc per previous discussions in 2001-08-21 16:36:06 +00:00
pg_amproc.h Restructure pg_opclass, pg_amop, and pg_amproc per previous discussions in 2001-08-21 16:36:06 +00:00
pg_attrdef.h Make OIDs optional, per discussions in pghackers. WITH OIDS is still the 2001-08-10 18:57:42 +00:00
pg_attribute.h Transaction IDs wrap around, per my proposal of 13-Aug-01. More 2001-08-26 16:56:03 +00:00
pg_class.h Transaction IDs wrap around, per my proposal of 13-Aug-01. More 2001-08-26 16:56:03 +00:00
pg_control.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
pg_database.h Transaction IDs wrap around, per my proposal of 13-Aug-01. More 2001-08-26 16:56:03 +00:00
pg_description.h Make OIDs optional, per discussions in pghackers. WITH OIDS is still the 2001-08-10 18:57:42 +00:00
pg_group.h Make OIDs optional, per discussions in pghackers. WITH OIDS is still the 2001-08-10 18:57:42 +00:00
pg_index.h Restructure pg_opclass, pg_amop, and pg_amproc per previous discussions in 2001-08-21 16:36:06 +00:00
pg_inherits.h Make OIDs optional, per discussions in pghackers. WITH OIDS is still the 2001-08-10 18:57:42 +00:00
pg_language.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
pg_largeobject.h Cleanup some minor oversights in optional-OIDs stuff. 2001-08-10 20:52:25 +00:00
pg_listener.h Make OIDs optional, per discussions in pghackers. WITH OIDS is still the 2001-08-10 18:57:42 +00:00
pg_opclass.h Restructure pg_opclass, pg_amop, and pg_amproc per previous discussions in 2001-08-21 16:36:06 +00:00
pg_operator.h Add comparison operators and btree indexing support for type bytea. 2001-08-13 18:45:36 +00:00
pg_proc.h Clean up some confusion about where and how to set whereToSendOutput. 2001-09-08 01:10:21 +00:00
pg_relcheck.h Make OIDs optional, per discussions in pghackers. WITH OIDS is still the 2001-08-10 18:57:42 +00:00
pg_rewrite.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
pg_shadow.h Make the world somewhat safe for (not from) DELETE FROM pg_shadow; 2001-09-08 15:24:00 +00:00
pg_statistic.h Make OIDs optional, per discussions in pghackers. WITH OIDS is still the 2001-08-10 18:57:42 +00:00
pg_trigger.h Clean up various to-do items associated with system indexes: 2001-06-12 05:55:50 +00:00
pg_type.h Fix handling of pg_type.typdefault per bug report from Dave Blasby. 2001-09-06 02:07:42 +00:00
pg_version.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
unused_oids Make OIDs optional, per discussions in pghackers. WITH OIDS is still the 2001-08-10 18:57:42 +00:00