postgresql/src/include/catalog
Tom Lane 70a2b05a59 Assorted cleanups in preparation for using a map file to support altering
the relfilenode of currently-not-relocatable system catalogs.

1. Get rid of inval.c's dependency on relfilenode, by not having it emit
smgr invalidations as a result of relcache flushes.  Instead, smgr sinval
messages are sent directly from smgr.c when an actual relation delete or
truncate is done.  This makes considerably more structural sense and allows
elimination of a large number of useless smgr inval messages that were
formerly sent even in cases where nothing was changing at the
physical-relation level.  Note that this reintroduces the concept of
nontransactional inval messages, but that's okay --- because the messages
are sent by smgr.c, they will be sent in Hot Standby slaves, just from a
lower logical level than before.

2. Move setNewRelfilenode out of catalog/index.c, where it never logically
belonged, into relcache.c; which is a somewhat debatable choice as well but
better than before.  (I considered catalog/storage.c, but that seemed too
low level.)  Rename to RelationSetNewRelfilenode.

3. Cosmetic cleanups of some other relfilenode manipulations.
2010-02-03 01:14:17 +00:00
..
catalog.h Please tablespace directories in their own subdirectory so pg_migrator 2010-01-12 02:42:52 +00:00
catversion.h Add string_agg aggregate functions. The one argument version concatenates 2010-02-01 03:14:45 +00:00
dependency.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
duplicate_oids Extend the BKI infrastructure to allow system catalogs to be given 2009-09-26 22:42:03 +00:00
genbki.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
heap.h Type table feature 2010-01-28 23:21:13 +00:00
index.h Assorted cleanups in preparation for using a map file to support altering 2010-02-03 01:14:17 +00:00
indexing.h Improve the handling of SET CONSTRAINTS commands by having them search 2010-01-17 22:56:23 +00:00
namespace.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pg_aggregate.h Add string_agg aggregate functions. The one argument version concatenates 2010-02-01 03:14:45 +00:00
pg_am.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_amop.h Add point_ops opclass for GiST. 2010-01-14 16:31:09 +00:00
pg_amproc.h Add point_ops opclass for GiST. 2010-01-14 16:31:09 +00:00
pg_attrdef.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_attribute.h Replace ALTER TABLE ... SET STATISTICS DISTINCT with a more general mechanism. 2010-01-22 16:40:19 +00:00
pg_auth_members.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_authid.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_cast.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_class.h Type table feature 2010-01-28 23:21:13 +00:00
pg_constraint.h Improve the handling of SET CONSTRAINTS commands by having them search 2010-01-17 22:56:23 +00:00
pg_control.h Write a WAL record whenever we perform an operation without WAL-logging 2010-01-20 19:43:40 +00:00
pg_conversion.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_conversion_fn.h Fold FindConversion() into FindConversionByName() and remove ACL check. 2010-02-02 18:52:33 +00:00
pg_database.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_db_role_setting.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_default_acl.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_depend.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_description.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_enum.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_foreign_data_wrapper.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_foreign_server.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_index.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_inherits.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_inherits_fn.h Tighten integrity checks on ALTER TABLE ... ALTER COLUMN ... RENAME. 2010-02-01 19:28:56 +00:00
pg_language.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_largeobject.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_largeobject_metadata.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_listener.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_namespace.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_opclass.h Add point_ops opclass for GiST. 2010-01-14 16:31:09 +00:00
pg_operator.h Add point_ops opclass for GiST. 2010-01-14 16:31:09 +00:00
pg_opfamily.h Add point_ops opclass for GiST. 2010-01-14 16:31:09 +00:00
pg_pltemplate.h PL/Python DO handler 2010-01-22 15:45:15 +00:00
pg_proc.h Add string_agg aggregate functions. The one argument version concatenates 2010-02-01 03:14:45 +00:00
pg_proc_fn.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pg_rewrite.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_shdepend.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_shdescription.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_statistic.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_tablespace.h Support ALTER TABLESPACE name SET/RESET ( tablespace_options ). 2010-01-05 21:54:00 +00:00
pg_trigger.h Improve the handling of SET CONSTRAINTS commands by having them search 2010-01-17 22:56:23 +00:00
pg_ts_config.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_ts_config_map.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_ts_dict.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_ts_parser.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_ts_template.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_type.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
pg_type_fn.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pg_user_mapping.h Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
storage.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
toasting.h Preserve relfilenodes: 2010-01-06 03:04:03 +00:00
unused_oids Extend the BKI infrastructure to allow system catalogs to be given 2009-09-26 22:42:03 +00:00