postgresql/src/include/catalog
Robert Haas 8e18d04d4d Refine our definition of what constitutes a system relation.
Although user-defined relations can't be directly created in
pg_catalog, it's possible for them to end up there, because you can
create them in some other schema and then use ALTER TABLE .. SET SCHEMA
to move them there.  Previously, such relations couldn't afterwards
be manipulated, because IsSystemRelation()/IsSystemClass() rejected
all attempts to modify objects in the pg_catalog schema, regardless
of their origin.  With this patch, they now reject only those
objects in pg_catalog which were created at initdb-time, allowing
most operations on user-created tables in pg_catalog to proceed
normally.

This patch also adds new functions IsCatalogRelation() and
IsCatalogClass(), which is similar to IsSystemRelation() and
IsSystemClass() but with a slightly narrower definition: only TOAST
tables of system catalogs are included, rather than *all* TOAST tables.
This is currently used only for making decisions about when
invalidation messages need to be sent, but upcoming logical decoding
patches will find other uses for this information.

Andres Freund, with some modifications by me.
2013-11-28 20:57:20 -05:00
..
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
catalog.h Refine our definition of what constitutes a system relation. 2013-11-28 20:57:20 -05:00
catversion.h Implement information_schema.parameters.parameter_default column 2013-11-26 23:21:35 -05:00
dependency.h Allow extracting machine-readable object identity 2013-03-20 18:19:19 -03:00
duplicate_oids Replace duplicate_oids with Perl implementation 2013-10-10 20:09:42 -04:00
genbki.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
heap.h Put back allow_system_table_mods check in heap_create(). 2013-06-03 17:22:31 +03:00
index.h Extend object-access hook machinery to support post-alter events. 2013-03-17 22:57:26 -04:00
indexing.h Add infrastructure for mapping relfilenodes to relation OIDs. 2013-07-22 11:09:10 -04:00
namespace.h Allow CREATE TABLE IF EXIST so succeed if the schema is nonexistent 2013-01-26 13:24:50 -05:00
objectaccess.h Use an MVCC snapshot, rather than SnapshotNow, for catalog scans. 2013-07-02 09:47:01 -04:00
objectaddress.h pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
pg_aggregate.h Improve performance of numeric sum(), avg(), stddev(), variance(), etc. 2013-11-16 18:46:34 -05:00
pg_am.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_amop.h Add record_image_ops opclass for matview concurrent refresh. 2013-10-09 14:26:09 -05:00
pg_amproc.h Add record_image_ops opclass for matview concurrent refresh. 2013-10-09 14:26:09 -05:00
pg_attrdef.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_attribute.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_auth_members.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_authid.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_cast.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_class.h Add the notion of REPLICA IDENTITY for a table. 2013-11-08 12:30:43 -05:00
pg_collation.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_collation_fn.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_constraint.h pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
pg_control.h Add new GUC, max_worker_processes, limiting number of bgworkers. 2013-07-04 11:24:24 -04:00
pg_conversion.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_conversion_fn.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_database.h Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
pg_db_role_setting.h Add #include to make header file independent 2013-07-02 20:19:52 -04:00
pg_default_acl.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_depend.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_description.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_enum.h pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
pg_event_trigger.h pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
pg_extension.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_foreign_data_wrapper.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_foreign_server.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_foreign_table.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_index.h Add the notion of REPLICA IDENTITY for a table. 2013-11-08 12:30:43 -05:00
pg_inherits.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_inherits_fn.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_language.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_largeobject.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_largeobject_metadata.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_namespace.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_opclass.h Add record_image_ops opclass for matview concurrent refresh. 2013-10-09 14:26:09 -05:00
pg_operator.h Support multi-argument UNNEST(), and TABLE() syntax for multiple functions. 2013-11-21 19:37:20 -05:00
pg_opfamily.h Add record_image_ops opclass for matview concurrent refresh. 2013-10-09 14:26:09 -05:00
pg_pltemplate.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_proc.h Implement information_schema.parameters.parameter_default column 2013-11-26 23:21:35 -05:00
pg_proc_fn.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_range.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_rewrite.h Eliminate pg_rewrite.ev_attr column and related dead code. 2013-09-05 14:03:43 -05:00
pg_seclabel.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_shdepend.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_shdescription.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_shseclabel.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_statistic.h pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
pg_tablespace.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_trigger.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_ts_config.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_ts_config_map.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_ts_dict.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_ts_parser.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_ts_template.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_type.h Fix array slicing of int2vector and oidvector values. 2013-11-23 20:03:56 -05:00
pg_type_fn.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_user_mapping.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
storage.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
storage_xlog.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
toasting.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
unused_oids Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00