postgresql/src/include/catalog
Tom Lane 20b6847176 Fix new pg_publication_tables query.
The addition of published column names forgot to filter on attisdropped,
leading to cases where you could see "........pg.dropped.1........"
or the like as a reportedly-published column.

While we're here, rewrite the new subquery to get a more efficient plan
for it.

Hou Zhijie, per report from Jaime Casanova.  Back-patch to v15 where
the bug was introduced.  (Sadly, this means we need a post-beta4
catversion bump before beta4 has even hit the streets.  I see no
good alternative though.)

Discussion: https://postgr.es/m/Yxa1SU4nH2HfN3/i@ahch-to
2022-09-06 18:00:32 -04:00
..
.gitignore Build in some knowledge about foreign-key relationships in the catalogs. 2021-02-02 17:11:55 -05:00
Makefile Update copyright for 2022 2022-01-07 19:04:57 -05:00
binary_upgrade.h Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
catalog.h Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
catversion.h Fix new pg_publication_tables query. 2022-09-06 18:00:32 -04:00
dependency.h Ensure that pg_auth_members.grantor is always valid. 2022-08-18 13:13:02 -04:00
duplicate_oids Update copyright for 2022 2022-01-07 19:04:57 -05:00
genbki.h Rethink method for assigning OIDs to the template0 and postgres DBs. 2022-04-21 16:23:15 -04:00
heap.h Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
index.h Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
indexing.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
namespace.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
objectaccess.h Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
objectaddress.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
partition.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_aggregate.dat Revert SQL/JSON features 2022-09-01 17:07:14 -04:00
pg_aggregate.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_am.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_am.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_amop.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_amop.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_amproc.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_amproc.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_attrdef.h Move pg_attrdef manipulation code into new file catalog/pg_attrdef.c. 2022-03-21 14:38:23 -04:00
pg_attribute.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_auth_members.h Allow grant-level control of role inheritance behavior. 2022-08-25 10:06:02 -04:00
pg_authid.dat Rename pg_checkpointer predefined role to pg_checkpoint. 2022-07-05 13:31:42 -04:00
pg_authid.h Use DECLARE_TOAST_WITH_MACRO() to simplify toast-table declarations. 2022-04-21 12:02:23 -04:00
pg_cast.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_cast.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_class.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_class.h Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
pg_collation.dat Add option to use ICU as global locale provider 2022-03-17 11:13:16 +01:00
pg_collation.h Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
pg_constraint.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_control.h Remove exclusive backup mode 2022-04-06 14:41:03 -04:00
pg_conversion.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_conversion.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_database.dat Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
pg_database.h Rethink method for assigning OIDs to the template0 and postgres DBs. 2022-04-21 16:23:15 -04:00
pg_db_role_setting.h Fix comment in pg_db_role_setting.h 2022-08-02 11:49:37 +07:00
pg_default_acl.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_depend.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_description.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_enum.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_event_trigger.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_extension.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_foreign_data_wrapper.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_foreign_server.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_foreign_table.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_index.h Add UNIQUE null treatment option 2022-02-03 11:48:21 +01:00
pg_inherits.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_init_privs.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_language.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_language.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_largeobject.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_largeobject_metadata.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_namespace.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_namespace.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_opclass.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_opclass.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_operator.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_operator.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_opfamily.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_opfamily.h Fix planner to consider matches to boolean columns in extension indexes. 2022-09-02 17:01:51 -04:00
pg_parameter_acl.h Do pre-release housekeeping on catalog data. 2022-05-12 15:35:15 -04:00
pg_partitioned_table.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_policy.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_proc.dat Revert SQL/JSON features 2022-09-01 17:07:14 -04:00
pg_proc.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_publication.h Move common catalog cache access routines to lsyscache.c 2022-08-02 10:47:22 +05:30
pg_publication_namespace.h Do pre-release housekeeping on catalog data. 2022-05-12 15:35:15 -04:00
pg_publication_rel.h Do pre-release housekeeping on catalog data. 2022-05-12 15:35:15 -04:00
pg_range.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_range.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_replication_origin.h Use DECLARE_TOAST_WITH_MACRO() to simplify toast-table declarations. 2022-04-21 12:02:23 -04:00
pg_rewrite.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_seclabel.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_sequence.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_shdepend.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_shdescription.h Use DECLARE_TOAST_WITH_MACRO() to simplify toast-table declarations. 2022-04-21 12:02:23 -04:00
pg_shseclabel.h Use DECLARE_TOAST_WITH_MACRO() to simplify toast-table declarations. 2022-04-21 12:02:23 -04:00
pg_statistic.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_statistic_ext.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_statistic_ext_data.h Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
pg_subscription.h Move common catalog cache access routines to lsyscache.c 2022-08-02 10:47:22 +05:30
pg_subscription_rel.h Refactor code in charge of grabbing the relations of a subscription 2022-07-27 19:50:06 +09:00
pg_tablespace.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_tablespace.h Use DECLARE_TOAST_WITH_MACRO() to simplify toast-table declarations. 2022-04-21 12:02:23 -04:00
pg_transform.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_trigger.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_ts_config.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_ts_config.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_ts_config_map.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_ts_config_map.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_ts_dict.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_ts_dict.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_ts_parser.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_ts_parser.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_ts_template.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_ts_template.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_type.dat Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_type.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_user_mapping.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
reformat_dat_file.pl Update copyright for 2022 2022-01-07 19:04:57 -05:00
renumber_oids.pl Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
storage.h Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
storage_xlog.h Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
toasting.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
unused_oids Rethink method for assigning OIDs to the template0 and postgres DBs. 2022-04-21 16:23:15 -04:00