postgresql/src/include/catalog
Robert Haas 482675987b Add a run_as_owner option to subscriptions.
This option is normally false, but can be set to true to obtain
the legacy behavior where the subscription runs with the permissions
of the subscription owner rather than the permissions of the
table owner. The advantages of this mode are (1) it doesn't require
that the subscription owner have permission to SET ROLE to each
table owner and (2) since no role switching occurs, the
SECURITY_RESTRICTED_OPERATION restrictions do not apply.

On the downside, it allows any table owner to easily usurp
the privileges of the subscription owner - basically, to take
over their account. Because that's generally quite undesirable,
we don't make this mode the default, but we do make it available,
just in case the new behavior causes too many problems for someone.

Discussion: http://postgr.es/m/CA+TgmoZ-WEeG6Z14AfH7KhmpX2eFh+tZ0z+vf0=eMDdbda269g@mail.gmail.com
2023-04-04 12:03:03 -04:00
..
.gitignore Build in some knowledge about foreign-key relationships in the catalogs. 2021-02-02 17:11:55 -05:00
binary_upgrade.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
catalog.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
catversion.h Add a run_as_owner option to subscriptions. 2023-04-04 12:03:03 -04:00
dependency.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
duplicate_oids Update copyright for 2023 2023-01-02 15:00:37 -05:00
genbki.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
heap.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
index.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
indexing.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
Makefile Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
namespace.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
objectaccess.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
objectaddress.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
partition.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_aggregate.dat SQL/JSON: add standard JSON constructor functions 2023-03-29 12:11:36 +02:00
pg_aggregate.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_am.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_am.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_amop.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_amop.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_amproc.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_amproc.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_attrdef.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_attribute.h Save a few bytes in pg_attribute 2023-03-28 10:05:56 +02:00
pg_auth_members.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_authid.dat Add new predefined role pg_create_subscription. 2023-03-30 11:37:19 -04:00
pg_authid.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_cast.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_cast.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_class.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_class.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_collation.dat Move definition of standard collations from initdb to pg_collation.dat 2023-03-29 09:45:21 +02:00
pg_collation.h Allow tailoring of ICU locales with custom rules 2023-03-08 16:56:37 +01:00
pg_constraint.h Save a few bytes in pg_attribute 2023-03-28 10:05:56 +02:00
pg_control.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_conversion.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_conversion.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_database.dat Allow tailoring of ICU locales with custom rules 2023-03-08 16:56:37 +01:00
pg_database.h Allow tailoring of ICU locales with custom rules 2023-03-08 16:56:37 +01:00
pg_db_role_setting.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_default_acl.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_depend.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_description.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_enum.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_event_trigger.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_extension.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_foreign_data_wrapper.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_foreign_server.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_foreign_table.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_index.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_inherits.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_init_privs.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_language.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_language.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_largeobject.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_largeobject_metadata.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_namespace.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_namespace.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_opclass.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_opclass.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_operator.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_operator.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_opfamily.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_opfamily.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_parameter_acl.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_partitioned_table.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_policy.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_proc.dat Track shared buffer hits in pg_stat_io 2023-03-30 19:24:21 -07:00
pg_proc.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_publication.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_publication_namespace.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_publication_rel.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_range.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_range.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_replication_origin.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_rewrite.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_seclabel.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_sequence.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_shdepend.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_shdescription.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_shseclabel.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_statistic.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_statistic_ext.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_statistic_ext_data.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_subscription.h Add a run_as_owner option to subscriptions. 2023-04-04 12:03:03 -04:00
pg_subscription_rel.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_tablespace.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_tablespace.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_transform.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_trigger.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_ts_config.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_ts_config.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_ts_config_map.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_ts_config_map.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_ts_dict.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_ts_dict.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_ts_parser.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_ts_parser.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_ts_template.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_ts_template.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_type.dat Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_type.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_user_mapping.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
reformat_dat_file.pl Update copyright for 2023 2023-01-02 15:00:37 -05:00
renumber_oids.pl Update copyright for 2023 2023-01-02 15:00:37 -05:00
storage.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
storage_xlog.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
toasting.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
unused_oids Update copyright for 2023 2023-01-02 15:00:37 -05:00