You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2023/06/26 03:05:09 UTC
[shardingsphere] branch master updated: Add postgresql pg_catalog tables (#26561)
This is an automated email from the ASF dual-hosted git repository.
duanzhengqiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 38fbb1395c2 Add postgresql pg_catalog tables (#26561)
38fbb1395c2 is described below
commit 38fbb1395c21513df5d9935ef45e37f2b3404452
Author: ZhangCheng <ch...@apache.org>
AuthorDate: Mon Jun 26 11:05:02 2023 +0800
Add postgresql pg_catalog tables (#26561)
* Add sys table
* fix
* fix
---
.../schema/builder/SystemSchemaBuilderRule.java | 25 +-
.../schema/postgresql/pg_catalog/pg_collation.yaml | 104 ++++++++
.../schema/postgresql/pg_catalog/pg_config.yaml | 35 +++
.../postgresql/pg_catalog/pg_constraint.yaml | 230 +++++++++++++++++
.../postgresql/pg_catalog/pg_conversion.yaml | 90 +++++++
.../schema/postgresql/pg_catalog/pg_cursors.yaml | 67 +++++
.../postgresql/pg_catalog/pg_db_role_setting.yaml | 46 ++++
.../postgresql/pg_catalog/pg_default_acl.yaml | 64 +++++
.../schema/postgresql/pg_catalog/pg_depend.yaml | 80 ++++++
.../postgresql/pg_catalog/pg_description.yaml | 54 ++++
.../schema/postgresql/pg_catalog/pg_enum.yaml | 58 +++++
.../postgresql/pg_catalog/pg_event_trigger.yaml | 80 ++++++
.../schema/postgresql/pg_catalog/pg_extension.yaml | 88 +++++++
.../postgresql/pg_catalog/pg_file_settings.yaml | 75 ++++++
.../pg_catalog/pg_foreign_data_wrapper.yaml | 80 ++++++
.../postgresql/pg_catalog/pg_foreign_server.yaml | 88 +++++++
.../postgresql/pg_catalog/pg_foreign_table.yaml | 46 ++++
.../schema/postgresql/pg_catalog/pg_group.yaml | 43 ++++
.../postgresql/pg_catalog/pg_hba_file_rules.yaml | 91 +++++++
.../schema/postgresql/pg_catalog/pg_index.yaml | 184 ++++++++++++++
.../schema/postgresql/pg_catalog/pg_indexes.yaml | 59 +++++
.../postgresql/pg_catalog/pg_init_privs.yaml | 62 +++++
.../schema/postgresql/pg_catalog/pg_language.yaml | 96 +++++++
.../postgresql/pg_catalog/pg_largeobject.yaml | 46 ++++
.../pg_catalog/pg_largeobject_metadata.yaml | 46 ++++
.../schema/postgresql/pg_catalog/pg_locks.yaml | 147 +++++++++++
.../schema/postgresql/pg_catalog/pg_matviews.yaml | 75 ++++++
.../schema/postgresql/pg_catalog/pg_opclass.yaml | 96 +++++++
.../schema/postgresql/pg_catalog/pg_operator.yaml | 144 +++++++++++
.../schema/postgresql/pg_catalog/pg_opfamily.yaml | 64 +++++
.../pg_catalog/pg_partitioned_table.yaml | 86 +++++++
.../schema/postgresql/pg_catalog/pg_policies.yaml | 83 ++++++
.../schema/postgresql/pg_catalog/pg_policy.yaml | 88 +++++++
.../pg_catalog/pg_prepared_statements.yaml | 75 ++++++
.../postgresql/pg_catalog/pg_prepared_xacts.yaml | 59 +++++
.../schema/postgresql/pg_catalog/pg_proc.yaml | 264 +++++++++++++++++++
.../postgresql/pg_catalog/pg_publication.yaml | 96 +++++++
.../postgresql/pg_catalog/pg_publication_rel.yaml | 48 ++++
.../pg_catalog/pg_publication_tables.yaml | 43 ++++
.../pg_catalog/pg_replication_origin_status.yaml | 51 ++++
.../pg_catalog/pg_replication_slots.yaml | 139 ++++++++++
.../schema/postgresql/pg_catalog/pg_rules.yaml | 51 ++++
.../schema/postgresql/pg_catalog/pg_seclabels.yaml | 83 ++++++
.../schema/postgresql/pg_catalog/pg_sequences.yaml | 107 ++++++++
.../schema/postgresql/pg_catalog/pg_settings.yaml | 155 ++++++++++++
.../schema/postgresql/pg_catalog/pg_shadow.yaml | 91 +++++++
.../schema/postgresql/pg_catalog/pg_shdepend.yaml | 80 ++++++
.../postgresql/pg_catalog/pg_shdescription.yaml | 46 ++++
.../pg_catalog/pg_shmem_allocations.yaml | 51 ++++
.../postgresql/pg_catalog/pg_shseclabel.yaml | 54 ++++
.../postgresql/pg_catalog/pg_stat_activity.yaml | 195 ++++++++++++++
.../postgresql/pg_catalog/pg_stat_all_indexes.yaml | 83 ++++++
.../postgresql/pg_catalog/pg_stat_all_tables.yaml | 203 +++++++++++++++
.../postgresql/pg_catalog/pg_stat_archiver.yaml | 75 ++++++
.../postgresql/pg_catalog/pg_stat_bgwriter.yaml | 107 ++++++++
.../postgresql/pg_catalog/pg_stat_database.yaml | 243 ++++++++++++++++++
.../pg_catalog/pg_stat_progress_copy.yaml | 99 ++++++++
.../pg_catalog/pg_stat_progress_create_index.yaml | 147 +++++++++++
.../pg_catalog/pg_stat_progress_vacuum.yaml | 107 ++++++++
.../postgresql/pg_catalog/pg_stat_replication.yaml | 179 +++++++++++++
.../pg_catalog/pg_stat_replication_slots.yaml | 99 ++++++++
.../schema/postgresql/pg_catalog/pg_stat_slru.yaml | 91 +++++++
.../schema/postgresql/pg_catalog/pg_stat_ssl.yaml | 83 ++++++
.../pg_catalog/pg_stat_subscription.yaml | 91 +++++++
.../postgresql/pg_catalog/pg_stat_sys_indexes.yaml | 83 ++++++
.../postgresql/pg_catalog/pg_stat_sys_tables.yaml | 203 +++++++++++++++
.../pg_catalog/pg_stat_user_functions.yaml | 67 +++++
.../pg_catalog/pg_stat_user_indexes.yaml | 83 ++++++
.../postgresql/pg_catalog/pg_stat_user_tables.yaml | 203 +++++++++++++++
.../schema/postgresql/pg_catalog/pg_stat_wal.yaml | 91 +++++++
.../pg_catalog/pg_stat_wal_receiver.yaml | 139 ++++++++++
.../pg_catalog/pg_stat_xact_all_tables.yaml | 107 ++++++++
.../pg_catalog/pg_stat_xact_sys_tables.yaml | 107 ++++++++
.../pg_catalog/pg_stat_xact_user_functions.yaml | 67 +++++
.../pg_catalog/pg_stat_xact_user_tables.yaml | 107 ++++++++
.../pg_catalog/pg_statio_all_indexes.yaml | 75 ++++++
.../pg_catalog/pg_statio_all_sequences.yaml | 59 +++++
.../pg_catalog/pg_statio_all_tables.yaml | 107 ++++++++
.../pg_catalog/pg_statio_sys_indexes.yaml | 75 ++++++
.../pg_catalog/pg_statio_sys_sequences.yaml | 59 +++++
.../pg_catalog/pg_statio_sys_tables.yaml | 107 ++++++++
.../pg_catalog/pg_statio_user_indexes.yaml | 75 ++++++
.../pg_catalog/pg_statio_user_sequences.yaml | 59 +++++
.../pg_catalog/pg_statio_user_tables.yaml | 107 ++++++++
.../schema/postgresql/pg_catalog/pg_statistic.yaml | 270 ++++++++++++++++++++
.../postgresql/pg_catalog/pg_statistic_ext.yaml | 98 ++++++++
.../pg_catalog/pg_statistic_ext_data.yaml | 62 +++++
.../schema/postgresql/pg_catalog/pg_stats.yaml | 131 ++++++++++
.../schema/postgresql/pg_catalog/pg_stats_ext.yaml | 131 ++++++++++
.../postgresql/pg_catalog/pg_stats_ext_exprs.yaml | 147 +++++++++++
.../postgresql/pg_catalog/pg_subscription.yaml | 112 +++++++++
.../postgresql/pg_catalog/pg_subscription_rel.yaml | 54 ++++
.../postgresql/pg_catalog/pg_timezone_abbrevs.yaml | 43 ++++
.../postgresql/pg_catalog/pg_timezone_names.yaml | 51 ++++
.../schema/postgresql/pg_catalog/pg_transform.yaml | 64 +++++
.../schema/postgresql/pg_catalog/pg_ts_config.yaml | 64 +++++
.../postgresql/pg_catalog/pg_ts_config_map.yaml | 54 ++++
.../schema/postgresql/pg_catalog/pg_ts_dict.yaml | 72 ++++++
.../schema/postgresql/pg_catalog/pg_ts_parser.yaml | 88 +++++++
.../postgresql/pg_catalog/pg_ts_template.yaml | 64 +++++
.../schema/postgresql/pg_catalog/pg_type.yaml | 280 +++++++++++++++++++++
.../schema/postgresql/pg_catalog/pg_user.yaml | 91 +++++++
.../postgresql/pg_catalog/pg_user_mappings.yaml | 67 +++++
.../schema/postgresql/pg_catalog/pg_views.yaml | 51 ++++
.../builder/SystemSchemaBuilderRuleTest.java | 2 +-
.../schema/builder/SystemSchemaBuilderTest.java | 2 +-
.../test/e2e/engine/type/RALE2EIT.java | 6 +-
.../test/e2e/engine/type/RDLE2EIT.java | 8 +
.../select_postgresql_pg_catalog_pg_attribute.xml | 47 ++++
...elect_postgresql_pg_catalog_pg_auth_members.xml | 25 ++
.../db/select_postgresql_pg_catalog_pg_authid.xml | 33 +++
..._pg_catalog_pg_available_extension_versions.xml | 30 +++
...stgresql_pg_catalog_pg_available_extensions.xml | 25 ++
...resql_pg_catalog_pg_backend_memory_contexts.xml | 30 +++
.../db/select_postgresql_pg_catalog_pg_cast.xml | 27 ++
.../db/select_postgresql_pg_catalog_pg_class.xml | 54 ++++
.../select_postgresql_pg_catalog_pg_collation.xml | 31 +++
.../db/select_postgresql_pg_catalog_pg_config.xml | 23 ++
.../select_postgresql_pg_catalog_pg_constraint.xml | 46 ++++
.../select_postgresql_pg_catalog_pg_conversion.xml | 29 +++
.../db/select_postgresql_pg_catalog_pg_cursors.xml | 27 ++
.../select_postgresql_pg_catalog_pg_database.xml | 35 +++
...ct_postgresql_pg_catalog_pg_db_role_setting.xml | 24 ++
...select_postgresql_pg_catalog_pg_default_acl.xml | 26 ++
.../db/select_postgresql_pg_catalog_pg_depend.xml | 28 +++
...select_postgresql_pg_catalog_pg_description.xml | 25 ++
.../db/select_postgresql_pg_catalog_pg_enum.xml | 25 ++
...lect_postgresql_pg_catalog_pg_event_trigger.xml | 28 +++
.../select_postgresql_pg_catalog_pg_extension.xml | 29 +++
...lect_postgresql_pg_catalog_pg_file_settings.xml | 28 +++
...stgresql_pg_catalog_pg_foreign_data_wrapper.xml | 28 +++
...ect_postgresql_pg_catalog_pg_foreign_server.xml | 29 +++
...lect_postgresql_pg_catalog_pg_foreign_table.xml | 24 ++
.../db/select_postgresql_pg_catalog_pg_group.xml | 24 ++
...ect_postgresql_pg_catalog_pg_hba_file_rules.xml | 30 +++
.../db/select_postgresql_pg_catalog_pg_index.xml | 41 +++
.../db/select_postgresql_pg_catalog_pg_indexes.xml | 26 ++
.../select_postgresql_pg_catalog_pg_inherits.xml | 25 ++
.../select_postgresql_pg_catalog_pg_init_privs.xml | 26 ++
.../select_postgresql_pg_catalog_pg_language.xml | 30 +++
...select_postgresql_pg_catalog_pg_largeobject.xml | 24 ++
...stgresql_pg_catalog_pg_largeobject_metadata.xml | 24 ++
.../db/select_postgresql_pg_catalog_pg_locks.xml | 37 +++
.../select_postgresql_pg_catalog_pg_matviews.xml | 28 +++
.../select_postgresql_pg_catalog_pg_namespace.xml | 25 ++
.../db/select_postgresql_pg_catalog_pg_opclass.xml | 30 +++
.../select_postgresql_pg_catalog_pg_operator.xml | 36 +++
.../select_postgresql_pg_catalog_pg_opfamily.xml | 26 ++
..._postgresql_pg_catalog_pg_partitioned_table.xml | 29 +++
.../select_postgresql_pg_catalog_pg_policies.xml | 29 +++
.../db/select_postgresql_pg_catalog_pg_policy.xml | 29 +++
...ostgresql_pg_catalog_pg_prepared_statements.xml | 28 +++
...ect_postgresql_pg_catalog_pg_prepared_xacts.xml | 26 ++
.../db/select_postgresql_pg_catalog_pg_proc.xml | 51 ++++
...select_postgresql_pg_catalog_pg_publication.xml | 30 +++
...ct_postgresql_pg_catalog_pg_publication_rel.xml | 24 ++
...postgresql_pg_catalog_pg_publication_tables.xml | 24 ++
...sql_pg_catalog_pg_replication_origin_status.xml | 25 ++
..._postgresql_pg_catalog_pg_replication_slots.xml | 36 +++
.../db/select_postgresql_pg_catalog_pg_roles.xml | 34 +++
.../db/select_postgresql_pg_catalog_pg_rules.xml | 25 ++
.../select_postgresql_pg_catalog_pg_seclabels.xml | 29 +++
.../select_postgresql_pg_catalog_pg_sequences.xml | 32 +++
.../select_postgresql_pg_catalog_pg_settings.xml | 38 +++
.../db/select_postgresql_pg_catalog_pg_shadow.xml | 30 +++
.../select_postgresql_pg_catalog_pg_shdepend.xml | 28 +++
...lect_postgresql_pg_catalog_pg_shdescription.xml | 24 ++
..._postgresql_pg_catalog_pg_shmem_allocations.xml | 25 ++
.../select_postgresql_pg_catalog_pg_shseclabel.xml | 25 ++
...lect_postgresql_pg_catalog_pg_stat_activity.xml | 43 ++++
...t_postgresql_pg_catalog_pg_stat_all_indexes.xml | 29 +++
...ct_postgresql_pg_catalog_pg_stat_all_tables.xml | 44 ++++
...lect_postgresql_pg_catalog_pg_stat_archiver.xml | 28 +++
...lect_postgresql_pg_catalog_pg_stat_bgwriter.xml | 32 +++
...lect_postgresql_pg_catalog_pg_stat_database.xml | 49 ++++
...postgresql_pg_catalog_pg_stat_progress_copy.xml | 31 +++
...ql_pg_catalog_pg_stat_progress_create_index.xml | 37 +++
...stgresql_pg_catalog_pg_stat_progress_vacuum.xml | 32 +++
...t_postgresql_pg_catalog_pg_stat_replication.xml | 41 +++
...gresql_pg_catalog_pg_stat_replication_slots.xml | 31 +++
.../select_postgresql_pg_catalog_pg_stat_slru.xml | 30 +++
.../select_postgresql_pg_catalog_pg_stat_ssl.xml | 29 +++
..._postgresql_pg_catalog_pg_stat_subscription.xml | 30 +++
...t_postgresql_pg_catalog_pg_stat_sys_indexes.xml | 29 +++
...ct_postgresql_pg_catalog_pg_stat_sys_tables.xml | 44 ++++
...ostgresql_pg_catalog_pg_stat_user_functions.xml | 27 ++
..._postgresql_pg_catalog_pg_stat_user_indexes.xml | 29 +++
...t_postgresql_pg_catalog_pg_stat_user_tables.xml | 44 ++++
.../select_postgresql_pg_catalog_pg_stat_wal.xml | 30 +++
..._postgresql_pg_catalog_pg_stat_wal_receiver.xml | 36 +++
...stgresql_pg_catalog_pg_stat_xact_all_tables.xml | 32 +++
...stgresql_pg_catalog_pg_stat_xact_sys_tables.xml | 32 +++
...esql_pg_catalog_pg_stat_xact_user_functions.xml | 27 ++
...tgresql_pg_catalog_pg_stat_xact_user_tables.xml | 32 +++
...postgresql_pg_catalog_pg_statio_all_indexes.xml | 28 +++
...stgresql_pg_catalog_pg_statio_all_sequences.xml | 26 ++
..._postgresql_pg_catalog_pg_statio_all_tables.xml | 32 +++
...postgresql_pg_catalog_pg_statio_sys_indexes.xml | 28 +++
...stgresql_pg_catalog_pg_statio_sys_sequences.xml | 26 ++
..._postgresql_pg_catalog_pg_statio_sys_tables.xml | 32 +++
...ostgresql_pg_catalog_pg_statio_user_indexes.xml | 28 +++
...tgresql_pg_catalog_pg_statio_user_sequences.xml | 26 ++
...postgresql_pg_catalog_pg_statio_user_tables.xml | 32 +++
.../select_postgresql_pg_catalog_pg_statistic.xml | 52 ++++
...lect_postgresql_pg_catalog_pg_statistic_ext.xml | 30 +++
...postgresql_pg_catalog_pg_statistic_ext_data.xml | 26 ++
.../db/select_postgresql_pg_catalog_pg_stats.xml | 35 +++
.../select_postgresql_pg_catalog_pg_stats_ext.xml | 35 +++
...ct_postgresql_pg_catalog_pg_stats_ext_exprs.xml | 37 +++
...elect_postgresql_pg_catalog_pg_subscription.xml | 32 +++
...t_postgresql_pg_catalog_pg_subscription_rel.xml | 25 ++
.../db/select_postgresql_pg_catalog_pg_tables.xml | 29 +++
.../select_postgresql_pg_catalog_pg_tablespace.xml | 26 ++
...t_postgresql_pg_catalog_pg_timezone_abbrevs.xml | 24 ++
...ect_postgresql_pg_catalog_pg_timezone_names.xml | 25 ++
.../select_postgresql_pg_catalog_pg_transform.xml | 26 ++
.../db/select_postgresql_pg_catalog_pg_trigger.xml | 40 +++
.../select_postgresql_pg_catalog_pg_ts_config.xml | 26 ++
...lect_postgresql_pg_catalog_pg_ts_config_map.xml | 25 ++
.../db/select_postgresql_pg_catalog_pg_ts_dict.xml | 27 ++
.../select_postgresql_pg_catalog_pg_ts_parser.xml | 29 +++
...select_postgresql_pg_catalog_pg_ts_template.xml | 26 ++
.../db/select_postgresql_pg_catalog_pg_type.xml | 53 ++++
.../db/select_postgresql_pg_catalog_pg_user.xml | 30 +++
...lect_postgresql_pg_catalog_pg_user_mappings.xml | 27 ++
.../db/select_postgresql_pg_catalog_pg_views.xml | 25 ++
226 files changed, 13623 insertions(+), 9 deletions(-)
diff --git a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderRule.java b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderRule.java
index 776f118cff6..8a929b19bb1 100644
--- a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderRule.java
+++ b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderRule.java
@@ -88,10 +88,27 @@ public enum SystemSchemaBuilderRule {
"table_constraints", "table_privileges", "tables", "transforms", "triggered_update_columns", "triggers", "udt_privileges", "usage_privileges", "user_defined_types",
"user_mapping_options", "user_mappings", "view_column_usage", "view_routine_usage", "view_table_usage", "views"))),
- POSTGRESQL_PG_CATALOG("PostgreSQL", "pg_catalog", new HashSet<>(Arrays.asList("pg_aggregate", "pg_am", "pg_amop", "pg_amproc", "pg_attrdef", "pg_attribute", "pg_auth_members", "pg_authid",
- "pg_available_extension_versions", "pg_available_extensions", "pg_backend_memory_contexts", "pg_cast", "pg_class",
- "pg_database", "pg_tables", "pg_inherits", "pg_tablespace", "pg_trigger", "pg_namespace", "pg_range", "pg_replication_origin", "pg_rewrite", "pg_seclabel", "pg_sequence",
- "pg_roles", "pg_user_mapping", "pg_stat_database_conflicts", "pg_stat_gssapi", "pg_stat_progress_analyze", "pg_stat_progress_basebackup", "pg_stat_progress_cluster"))),
+ POSTGRESQL_PG_CATALOG("PostgreSQL", "pg_catalog",
+ new HashSet<>(Arrays.asList("pg_aggregate", "pg_am", "pg_amop", "pg_amproc", "pg_attrdef", "pg_attribute", "pg_auth_members", "pg_authid", "pg_available_extension_versions",
+ "pg_available_extensions", "pg_backend_memory_contexts", "pg_cast", "pg_class", "pg_collation", "pg_config", "pg_constraint", "pg_conversion", "pg_cursors",
+ "pg_database", "pg_db_role_setting", "pg_default_acl", "pg_depend", "pg_description", "pg_enum", "pg_event_trigger", "pg_extension", "pg_file_settings",
+ "pg_foreign_data_wrapper", "pg_foreign_server", "pg_foreign_table", "pg_group", "pg_hba_file_rules", "pg_index", "pg_indexes", "pg_inherits", "pg_init_privs",
+ "pg_language", "pg_largeobject", "pg_largeobject_metadata", "pg_locks", "pg_matviews", "pg_namespace", "pg_opclass", "pg_operator", "pg_opfamily",
+ "pg_partitioned_table", "pg_policies", "pg_policy", "pg_prepared_statements", "pg_prepared_xacts", "pg_proc", "pg_publication", "pg_publication_rel", "pg_publication_tables",
+ "pg_range", "pg_replication_origin", "pg_replication_origin_status", "pg_replication_slots", "pg_rewrite", "pg_roles", "pg_rules", "pg_seclabel", "pg_seclabels",
+ "pg_sequence", "pg_sequences", "pg_settings", "pg_shadow", "pg_shdepend", "pg_shdescription", "pg_shmem_allocations", "pg_shseclabel", "pg_stat_activity",
+ "pg_stat_all_indexes", "pg_stat_all_tables", "pg_stat_archiver", "pg_stat_bgwriter", "pg_stat_database", "pg_stat_database_conflicts", "pg_stat_gssapi", "pg_stat_progress_analyze",
+ "pg_stat_progress_basebackup",
+ "pg_stat_progress_cluster", "pg_stat_progress_copy", "pg_stat_progress_create_index", "pg_stat_progress_vacuum", "pg_stat_replication", "pg_stat_replication_slots", "pg_stat_slru",
+ "pg_stat_ssl", "pg_stat_subscription",
+ "pg_stat_sys_indexes", "pg_stat_sys_tables", "pg_stat_user_functions", "pg_stat_user_indexes", "pg_stat_user_tables", "pg_stat_wal", "pg_stat_wal_receiver",
+ "pg_stat_xact_all_tables", "pg_stat_xact_sys_tables",
+ "pg_stat_xact_user_functions", "pg_stat_xact_user_tables", "pg_statio_all_indexes", "pg_statio_all_sequences", "pg_statio_all_tables", "pg_statio_sys_indexes",
+ "pg_statio_sys_sequences", "pg_statio_sys_tables", "pg_statio_user_indexes",
+ "pg_statio_user_sequences", "pg_statio_user_tables", "pg_statistic", "pg_statistic_ext", "pg_statistic_ext_data", "pg_stats", "pg_stats_ext", "pg_stats_ext_exprs",
+ "pg_subscription",
+ "pg_subscription_rel", "pg_tables", "pg_tablespace", "pg_timezone_abbrevs", "pg_timezone_names", "pg_transform", "pg_trigger", "pg_ts_config", "pg_ts_config_map",
+ "pg_ts_dict", "pg_ts_parser", "pg_ts_template", "pg_type", "pg_user", "pg_user_mapping", "pg_user_mappings", "pg_views"))),
POSTGRESQL_SHARDING_SPHERE("PostgreSQL", "shardingsphere", new HashSet<>(Arrays.asList("sharding_table_statistics", "cluster_information"))),
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_collation.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_collation.yaml
new file mode 100644
index 00000000000..7b37823173f
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_collation.yaml
@@ -0,0 +1,104 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_collation
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ collname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: collname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ collnamespace:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: collnamespace
+ primaryKey: false
+ unsigned: false
+ visible: true
+ collowner:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: collowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ collprovider:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: collprovider
+ primaryKey: false
+ unsigned: false
+ visible: true
+ collisdeterministic:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: collisdeterministic
+ primaryKey: false
+ unsigned: false
+ visible: true
+ collencoding:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: collencoding
+ primaryKey: false
+ unsigned: false
+ visible: true
+ collcollate:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: collcollate
+ primaryKey: false
+ unsigned: false
+ visible: true
+ collctype:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: collctype
+ primaryKey: false
+ unsigned: false
+ visible: true
+ collversion:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: collversion
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_collation_name_enc_nsp_index:
+ name: pg_collation_name_enc_nsp_index
+ pg_collation_oid_index:
+ name: pg_collation_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_config.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_config.yaml
new file mode 100644
index 00000000000..bc9561b1d27
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_config.yaml
@@ -0,0 +1,35 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_config
+columns:
+ name:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: name
+ primaryKey: false
+ unsigned: false
+ visible: true
+ setting:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: setting
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_constraint.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_constraint.yaml
new file mode 100644
index 00000000000..ab862b59e84
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_constraint.yaml
@@ -0,0 +1,230 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_constraint
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ conname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: conname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ connamespace:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: connamespace
+ primaryKey: false
+ unsigned: false
+ visible: true
+ contype:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: contype
+ primaryKey: false
+ unsigned: false
+ visible: true
+ condeferrable:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: condeferrable
+ primaryKey: false
+ unsigned: false
+ visible: true
+ condeferred:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: condeferred
+ primaryKey: false
+ unsigned: false
+ visible: true
+ convalidated:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: convalidated
+ primaryKey: false
+ unsigned: false
+ visible: true
+ conrelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: conrelid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ contypid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: contypid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ conindid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: conindid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ conparentid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: conparentid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ confrelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: confrelid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ confupdtype:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: confupdtype
+ primaryKey: false
+ unsigned: false
+ visible: true
+ confdeltype:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: confdeltype
+ primaryKey: false
+ unsigned: false
+ visible: true
+ confmatchtype:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: confmatchtype
+ primaryKey: false
+ unsigned: false
+ visible: true
+ conislocal:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: conislocal
+ primaryKey: false
+ unsigned: false
+ visible: true
+ coninhcount:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: coninhcount
+ primaryKey: false
+ unsigned: false
+ visible: true
+ connoinherit:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: connoinherit
+ primaryKey: false
+ unsigned: false
+ visible: true
+ conkey:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: conkey
+ primaryKey: false
+ unsigned: false
+ visible: true
+ confkey:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: confkey
+ primaryKey: false
+ unsigned: false
+ visible: true
+ conpfeqop:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: conpfeqop
+ primaryKey: false
+ unsigned: false
+ visible: true
+ conppeqop:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: conppeqop
+ primaryKey: false
+ unsigned: false
+ visible: true
+ conffeqop:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: conffeqop
+ primaryKey: false
+ unsigned: false
+ visible: true
+ conexclop:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: conexclop
+ primaryKey: false
+ unsigned: false
+ visible: true
+ conbin:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: conbin
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_constraint_conname_nsp_index:
+ name: pg_constraint_conname_nsp_index
+ pg_constraint_conrelid_contypid_conname_index:
+ name: pg_constraint_conrelid_contypid_conname_index
+ pg_constraint_contypid_index:
+ name: pg_constraint_contypid_index
+ pg_constraint_conparentid_index:
+ name: pg_constraint_conparentid_index
+ pg_constraint_oid_index:
+ name: pg_constraint_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_conversion.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_conversion.yaml
new file mode 100644
index 00000000000..fea7f5646ec
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_conversion.yaml
@@ -0,0 +1,90 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_conversion
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ conname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: conname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ connamespace:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: connamespace
+ primaryKey: false
+ unsigned: false
+ visible: true
+ conowner:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: conowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ conforencoding:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: conforencoding
+ primaryKey: false
+ unsigned: false
+ visible: true
+ contoencoding:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: contoencoding
+ primaryKey: false
+ unsigned: false
+ visible: true
+ conproc:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: conproc
+ primaryKey: false
+ unsigned: false
+ visible: true
+ condefault:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: condefault
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_conversion_default_index:
+ name: pg_conversion_default_index
+ pg_conversion_name_nsp_index:
+ name: pg_conversion_name_nsp_index
+ pg_conversion_oid_index:
+ name: pg_conversion_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_cursors.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_cursors.yaml
new file mode 100644
index 00000000000..05867a2529a
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_cursors.yaml
@@ -0,0 +1,67 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_cursors
+columns:
+ name:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: name
+ primaryKey: false
+ unsigned: false
+ visible: true
+ statement:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: statement
+ primaryKey: false
+ unsigned: false
+ visible: true
+ is_holdable:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: is_holdable
+ primaryKey: false
+ unsigned: false
+ visible: true
+ is_binary:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: is_binary
+ primaryKey: false
+ unsigned: false
+ visible: true
+ is_scrollable:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: is_scrollable
+ primaryKey: false
+ unsigned: false
+ visible: true
+ creation_time:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: creation_time
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_db_role_setting.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_db_role_setting.yaml
new file mode 100644
index 00000000000..9d7a39d515e
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_db_role_setting.yaml
@@ -0,0 +1,46 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_db_role_setting
+columns:
+ setdatabase:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: setdatabase
+ primaryKey: true
+ unsigned: false
+ visible: true
+ setrole:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: setrole
+ primaryKey: true
+ unsigned: false
+ visible: true
+ setconfig:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: setconfig
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_db_role_setting_databaseid_rol_index:
+ name: pg_db_role_setting_databaseid_rol_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_default_acl.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_default_acl.yaml
new file mode 100644
index 00000000000..fd503f873c8
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_default_acl.yaml
@@ -0,0 +1,64 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_default_acl
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ defaclrole:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: defaclrole
+ primaryKey: false
+ unsigned: false
+ visible: true
+ defaclnamespace:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: defaclnamespace
+ primaryKey: false
+ unsigned: false
+ visible: true
+ defaclobjtype:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: defaclobjtype
+ primaryKey: false
+ unsigned: false
+ visible: true
+ defaclacl:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: defaclacl
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_default_acl_role_nsp_obj_index:
+ name: pg_default_acl_role_nsp_obj_index
+ pg_default_acl_oid_index:
+ name: pg_default_acl_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_depend.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_depend.yaml
new file mode 100644
index 00000000000..c8157332303
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_depend.yaml
@@ -0,0 +1,80 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_depend
+columns:
+ classid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: classid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ objid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: objid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ objsubid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: objsubid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ refclassid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: refclassid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ refobjid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: refobjid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ refobjsubid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: refobjsubid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ deptype:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: deptype
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_depend_depender_index:
+ name: pg_depend_depender_index
+ pg_depend_reference_index:
+ name: pg_depend_reference_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_description.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_description.yaml
new file mode 100644
index 00000000000..5e329cb7168
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_description.yaml
@@ -0,0 +1,54 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_description
+columns:
+ objoid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: objoid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ classoid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: classoid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ objsubid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: objsubid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ description:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: description
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_description_o_c_o_index:
+ name: pg_description_o_c_o_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_enum.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_enum.yaml
new file mode 100644
index 00000000000..332b3744ece
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_enum.yaml
@@ -0,0 +1,58 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_enum
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ enumtypid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: enumtypid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ enumsortorder:
+ caseSensitive: true
+ dataType: 7
+ generated: false
+ name: enumsortorder
+ primaryKey: false
+ unsigned: false
+ visible: true
+ enumlabel:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: enumlabel
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_enum_typid_label_index:
+ name: pg_enum_typid_label_index
+ pg_enum_typid_sortorder_index:
+ name: pg_enum_typid_sortorder_index
+ pg_enum_oid_index:
+ name: pg_enum_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_event_trigger.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_event_trigger.yaml
new file mode 100644
index 00000000000..ad44f343841
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_event_trigger.yaml
@@ -0,0 +1,80 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_event_trigger
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ evtname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: evtname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ evtevent:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: evtevent
+ primaryKey: false
+ unsigned: false
+ visible: true
+ evtowner:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: evtowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ evtfoid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: evtfoid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ evtenabled:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: evtenabled
+ primaryKey: false
+ unsigned: false
+ visible: true
+ evttags:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: evttags
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_event_trigger_evtname_index:
+ name: pg_event_trigger_evtname_index
+ pg_event_trigger_oid_index:
+ name: pg_event_trigger_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_extension.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_extension.yaml
new file mode 100644
index 00000000000..70fe2890653
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_extension.yaml
@@ -0,0 +1,88 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_extension
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ extname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: extname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ extowner:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: extowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ extnamespace:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: extnamespace
+ primaryKey: false
+ unsigned: false
+ visible: true
+ extrelocatable:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: extrelocatable
+ primaryKey: false
+ unsigned: false
+ visible: true
+ extversion:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: extversion
+ primaryKey: false
+ unsigned: false
+ visible: true
+ extconfig:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: extconfig
+ primaryKey: false
+ unsigned: false
+ visible: true
+ extcondition:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: extcondition
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_extension_name_index:
+ name: pg_extension_name_index
+ pg_extension_oid_index:
+ name: pg_extension_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_file_settings.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_file_settings.yaml
new file mode 100644
index 00000000000..448f620ca32
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_file_settings.yaml
@@ -0,0 +1,75 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_file_settings
+columns:
+ sourcefile:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: sourcefile
+ primaryKey: false
+ unsigned: false
+ visible: true
+ sourceline:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: sourceline
+ primaryKey: false
+ unsigned: false
+ visible: true
+ seqno:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: seqno
+ primaryKey: false
+ unsigned: false
+ visible: true
+ name:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: name
+ primaryKey: false
+ unsigned: false
+ visible: true
+ setting:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: setting
+ primaryKey: false
+ unsigned: false
+ visible: true
+ applied:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: applied
+ primaryKey: false
+ unsigned: false
+ visible: true
+ error:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: error
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_foreign_data_wrapper.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_foreign_data_wrapper.yaml
new file mode 100644
index 00000000000..b09fcbf4ad2
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_foreign_data_wrapper.yaml
@@ -0,0 +1,80 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_foreign_data_wrapper
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ fdwname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: fdwname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ fdwowner:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: fdwowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ fdwhandler:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: fdwhandler
+ primaryKey: false
+ unsigned: false
+ visible: true
+ fdwvalidator:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: fdwvalidator
+ primaryKey: false
+ unsigned: false
+ visible: true
+ fdwacl:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: fdwacl
+ primaryKey: false
+ unsigned: false
+ visible: true
+ fdwoptions:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: fdwoptions
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_foreign_data_wrapper_name_index:
+ name: pg_foreign_data_wrapper_name_index
+ pg_foreign_data_wrapper_oid_index:
+ name: pg_foreign_data_wrapper_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_foreign_server.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_foreign_server.yaml
new file mode 100644
index 00000000000..56e74d48855
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_foreign_server.yaml
@@ -0,0 +1,88 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_foreign_server
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ srvname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: srvname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ srvowner:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: srvowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ srvfdw:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: srvfdw
+ primaryKey: false
+ unsigned: false
+ visible: true
+ srvtype:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: srvtype
+ primaryKey: false
+ unsigned: false
+ visible: true
+ srvversion:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: srvversion
+ primaryKey: false
+ unsigned: false
+ visible: true
+ srvacl:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: srvacl
+ primaryKey: false
+ unsigned: false
+ visible: true
+ srvoptions:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: srvoptions
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_foreign_server_name_index:
+ name: pg_foreign_server_name_index
+ pg_foreign_server_oid_index:
+ name: pg_foreign_server_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_foreign_table.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_foreign_table.yaml
new file mode 100644
index 00000000000..6d18e7e6970
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_foreign_table.yaml
@@ -0,0 +1,46 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_foreign_table
+columns:
+ ftrelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: ftrelid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ ftserver:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: ftserver
+ primaryKey: false
+ unsigned: false
+ visible: true
+ ftoptions:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: ftoptions
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_foreign_table_relid_index:
+ name: pg_foreign_table_relid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_group.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_group.yaml
new file mode 100644
index 00000000000..4ae392217f0
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_group.yaml
@@ -0,0 +1,43 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_group
+columns:
+ groname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: groname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ grosysid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: grosysid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ grolist:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: grolist
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_hba_file_rules.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_hba_file_rules.yaml
new file mode 100644
index 00000000000..c7933a97f07
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_hba_file_rules.yaml
@@ -0,0 +1,91 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_hba_file_rules
+columns:
+ line_number:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: line_number
+ primaryKey: false
+ unsigned: false
+ visible: true
+ type:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: type
+ primaryKey: false
+ unsigned: false
+ visible: true
+ database:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: database
+ primaryKey: false
+ unsigned: false
+ visible: true
+ user_name:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: user_name
+ primaryKey: false
+ unsigned: false
+ visible: true
+ address:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: address
+ primaryKey: false
+ unsigned: false
+ visible: true
+ netmask:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: netmask
+ primaryKey: false
+ unsigned: false
+ visible: true
+ auth_method:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: auth_method
+ primaryKey: false
+ unsigned: false
+ visible: true
+ options:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: options
+ primaryKey: false
+ unsigned: false
+ visible: true
+ error:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: error
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_index.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_index.yaml
new file mode 100644
index 00000000000..68e50f7f807
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_index.yaml
@@ -0,0 +1,184 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_index
+columns:
+ indexrelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: indexrelid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ indrelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: indrelid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indnatts:
+ caseSensitive: true
+ dataType: 5
+ generated: false
+ name: indnatts
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indnkeyatts:
+ caseSensitive: true
+ dataType: 5
+ generated: false
+ name: indnkeyatts
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indisunique:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: indisunique
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indisprimary:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: indisprimary
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indisexclusion:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: indisexclusion
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indimmediate:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: indimmediate
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indisclustered:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: indisclustered
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indisvalid:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: indisvalid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indcheckxmin:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: indcheckxmin
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indisready:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: indisready
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indislive:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: indislive
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indisreplident:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: indisreplident
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indkey:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: indkey
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indcollation:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: indcollation
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indclass:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: indclass
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indoption:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: indoption
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indexprs:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: indexprs
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indpred:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: indpred
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_index_indrelid_index:
+ name: pg_index_indrelid_index
+ pg_index_indexrelid_index:
+ name: pg_index_indexrelid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_indexes.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_indexes.yaml
new file mode 100644
index 00000000000..16c0b3bd673
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_indexes.yaml
@@ -0,0 +1,59 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_indexes
+columns:
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tablename:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: tablename
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indexname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: indexname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tablespace:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: tablespace
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indexdef:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: indexdef
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_init_privs.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_init_privs.yaml
new file mode 100644
index 00000000000..559af73d7e5
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_init_privs.yaml
@@ -0,0 +1,62 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_init_privs
+columns:
+ objoid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: objoid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ classoid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: classoid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ objsubid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: objsubid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ privtype:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: privtype
+ primaryKey: false
+ unsigned: false
+ visible: true
+ initprivs:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: initprivs
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_init_privs_o_c_o_index:
+ name: pg_init_privs_o_c_o_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_language.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_language.yaml
new file mode 100644
index 00000000000..2c513097707
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_language.yaml
@@ -0,0 +1,96 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_language
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ lanname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: lanname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ lanowner:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: lanowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ lanispl:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: lanispl
+ primaryKey: false
+ unsigned: false
+ visible: true
+ lanpltrusted:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: lanpltrusted
+ primaryKey: false
+ unsigned: false
+ visible: true
+ lanplcallfoid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: lanplcallfoid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ laninline:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: laninline
+ primaryKey: false
+ unsigned: false
+ visible: true
+ lanvalidator:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: lanvalidator
+ primaryKey: false
+ unsigned: false
+ visible: true
+ lanacl:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: lanacl
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_language_name_index:
+ name: pg_language_name_index
+ pg_language_oid_index:
+ name: pg_language_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_largeobject.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_largeobject.yaml
new file mode 100644
index 00000000000..5340bb9d3df
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_largeobject.yaml
@@ -0,0 +1,46 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_largeobject
+columns:
+ loid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: loid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ pageno:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: pageno
+ primaryKey: true
+ unsigned: false
+ visible: true
+ data:
+ caseSensitive: true
+ dataType: -2
+ generated: false
+ name: data
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_largeobject_loid_pn_index:
+ name: pg_largeobject_loid_pn_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_largeobject_metadata.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_largeobject_metadata.yaml
new file mode 100644
index 00000000000..aac5f5b18bf
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_largeobject_metadata.yaml
@@ -0,0 +1,46 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_largeobject_metadata
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ lomowner:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: lomowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ lomacl:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: lomacl
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_largeobject_metadata_oid_index:
+ name: pg_largeobject_metadata_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_locks.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_locks.yaml
new file mode 100644
index 00000000000..047d54fda5a
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_locks.yaml
@@ -0,0 +1,147 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_locks
+columns:
+ locktype:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: locktype
+ primaryKey: false
+ unsigned: false
+ visible: true
+ database:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: database
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relation:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relation
+ primaryKey: false
+ unsigned: false
+ visible: true
+ page:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: page
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tuple:
+ caseSensitive: true
+ dataType: 5
+ generated: false
+ name: tuple
+ primaryKey: false
+ unsigned: false
+ visible: true
+ virtualxid:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: virtualxid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ transactionid:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: transactionid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ classid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: classid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ objid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: objid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ objsubid:
+ caseSensitive: true
+ dataType: 5
+ generated: false
+ name: objsubid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ virtualtransaction:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: virtualtransaction
+ primaryKey: false
+ unsigned: false
+ visible: true
+ pid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: pid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ mode:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: mode
+ primaryKey: false
+ unsigned: false
+ visible: true
+ granted:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: granted
+ primaryKey: false
+ unsigned: false
+ visible: true
+ fastpath:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: fastpath
+ primaryKey: false
+ unsigned: false
+ visible: true
+ waitstart:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: waitstart
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_matviews.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_matviews.yaml
new file mode 100644
index 00000000000..db4e4d41983
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_matviews.yaml
@@ -0,0 +1,75 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_matviews
+columns:
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ matviewname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: matviewname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ matviewowner:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: matviewowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tablespace:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: tablespace
+ primaryKey: false
+ unsigned: false
+ visible: true
+ hasindexes:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: hasindexes
+ primaryKey: false
+ unsigned: false
+ visible: true
+ ispopulated:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: ispopulated
+ primaryKey: false
+ unsigned: false
+ visible: true
+ definition:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: definition
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_opclass.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_opclass.yaml
new file mode 100644
index 00000000000..e3468274cf8
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_opclass.yaml
@@ -0,0 +1,96 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_opclass
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ opcmethod:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: opcmethod
+ primaryKey: false
+ unsigned: false
+ visible: true
+ opcname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: opcname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ opcnamespace:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: opcnamespace
+ primaryKey: false
+ unsigned: false
+ visible: true
+ opcowner:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: opcowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ opcfamily:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: opcfamily
+ primaryKey: false
+ unsigned: false
+ visible: true
+ opcintype:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: opcintype
+ primaryKey: false
+ unsigned: false
+ visible: true
+ opcdefault:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: opcdefault
+ primaryKey: false
+ unsigned: false
+ visible: true
+ opckeytype:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: opckeytype
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_opclass_am_name_nsp_index:
+ name: pg_opclass_am_name_nsp_index
+ pg_opclass_oid_index:
+ name: pg_opclass_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_operator.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_operator.yaml
new file mode 100644
index 00000000000..cec23a7b6ee
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_operator.yaml
@@ -0,0 +1,144 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_operator
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ oprname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: oprname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ oprnamespace:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oprnamespace
+ primaryKey: false
+ unsigned: false
+ visible: true
+ oprowner:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oprowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ oprkind:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: oprkind
+ primaryKey: false
+ unsigned: false
+ visible: true
+ oprcanmerge:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: oprcanmerge
+ primaryKey: false
+ unsigned: false
+ visible: true
+ oprcanhash:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: oprcanhash
+ primaryKey: false
+ unsigned: false
+ visible: true
+ oprleft:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oprleft
+ primaryKey: false
+ unsigned: false
+ visible: true
+ oprright:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oprright
+ primaryKey: false
+ unsigned: false
+ visible: true
+ oprresult:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oprresult
+ primaryKey: false
+ unsigned: false
+ visible: true
+ oprcom:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oprcom
+ primaryKey: false
+ unsigned: false
+ visible: true
+ oprnegate:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oprnegate
+ primaryKey: false
+ unsigned: false
+ visible: true
+ oprcode:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: oprcode
+ primaryKey: false
+ unsigned: false
+ visible: true
+ oprrest:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: oprrest
+ primaryKey: false
+ unsigned: false
+ visible: true
+ oprjoin:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: oprjoin
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_operator_oprname_l_r_n_index:
+ name: pg_operator_oprname_l_r_n_index
+ pg_operator_oid_index:
+ name: pg_operator_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_opfamily.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_opfamily.yaml
new file mode 100644
index 00000000000..42f337f3d2b
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_opfamily.yaml
@@ -0,0 +1,64 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_opfamily
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ opfmethod:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: opfmethod
+ primaryKey: false
+ unsigned: false
+ visible: true
+ opfname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: opfname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ opfnamespace:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: opfnamespace
+ primaryKey: false
+ unsigned: false
+ visible: true
+ opfowner:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: opfowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_opfamily_am_name_nsp_index:
+ name: pg_opfamily_am_name_nsp_index
+ pg_opfamily_oid_index:
+ name: pg_opfamily_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_partitioned_table.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_partitioned_table.yaml
new file mode 100644
index 00000000000..789ed0ec5aa
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_partitioned_table.yaml
@@ -0,0 +1,86 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_partitioned_table
+columns:
+ partrelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: partrelid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ partstrat:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: partstrat
+ primaryKey: false
+ unsigned: false
+ visible: true
+ partnatts:
+ caseSensitive: true
+ dataType: 5
+ generated: false
+ name: partnatts
+ primaryKey: false
+ unsigned: false
+ visible: true
+ partdefid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: partdefid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ partattrs:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: partattrs
+ primaryKey: false
+ unsigned: false
+ visible: true
+ partclass:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: partclass
+ primaryKey: false
+ unsigned: false
+ visible: true
+ partcollation:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: partcollation
+ primaryKey: false
+ unsigned: false
+ visible: true
+ partexprs:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: partexprs
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_partitioned_table_partrelid_index:
+ name: pg_partitioned_table_partrelid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_policies.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_policies.yaml
new file mode 100644
index 00000000000..b0dbfa58ab0
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_policies.yaml
@@ -0,0 +1,83 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_policies
+columns:
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tablename:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: tablename
+ primaryKey: false
+ unsigned: false
+ visible: true
+ policyname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: policyname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ permissive:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: permissive
+ primaryKey: false
+ unsigned: false
+ visible: true
+ roles:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: roles
+ primaryKey: false
+ unsigned: false
+ visible: true
+ cmd:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: cmd
+ primaryKey: false
+ unsigned: false
+ visible: true
+ qual:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: qual
+ primaryKey: false
+ unsigned: false
+ visible: true
+ with_check:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: with_check
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_policy.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_policy.yaml
new file mode 100644
index 00000000000..633f673a64a
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_policy.yaml
@@ -0,0 +1,88 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_policy
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ polname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: polname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ polrelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: polrelid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ polcmd:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: polcmd
+ primaryKey: false
+ unsigned: false
+ visible: true
+ polpermissive:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: polpermissive
+ primaryKey: false
+ unsigned: false
+ visible: true
+ polroles:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: polroles
+ primaryKey: false
+ unsigned: false
+ visible: true
+ polqual:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: polqual
+ primaryKey: false
+ unsigned: false
+ visible: true
+ polwithcheck:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: polwithcheck
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_policy_polrelid_polname_index:
+ name: pg_policy_polrelid_polname_index
+ pg_policy_oid_index:
+ name: pg_policy_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_prepared_statements.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_prepared_statements.yaml
new file mode 100644
index 00000000000..9859c4b6252
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_prepared_statements.yaml
@@ -0,0 +1,75 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_prepared_statements
+columns:
+ name:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: name
+ primaryKey: false
+ unsigned: false
+ visible: true
+ statement:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: statement
+ primaryKey: false
+ unsigned: false
+ visible: true
+ prepare_time:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: prepare_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ parameter_types:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: parameter_types
+ primaryKey: false
+ unsigned: false
+ visible: true
+ from_sql:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: from_sql
+ primaryKey: false
+ unsigned: false
+ visible: true
+ generic_plans:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: generic_plans
+ primaryKey: false
+ unsigned: false
+ visible: true
+ custom_plans:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: custom_plans
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_prepared_xacts.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_prepared_xacts.yaml
new file mode 100644
index 00000000000..7f354a60f36
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_prepared_xacts.yaml
@@ -0,0 +1,59 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_prepared_xacts
+columns:
+ transaction:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: transaction
+ primaryKey: false
+ unsigned: false
+ visible: true
+ gid:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: gid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ prepared:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: prepared
+ primaryKey: false
+ unsigned: false
+ visible: true
+ owner:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: owner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ database:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: database
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_proc.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_proc.yaml
new file mode 100644
index 00000000000..4da28486a9a
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_proc.yaml
@@ -0,0 +1,264 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_proc
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ proname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: proname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ pronamespace:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: pronamespace
+ primaryKey: false
+ unsigned: false
+ visible: true
+ proowner:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: proowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ prolang:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: prolang
+ primaryKey: false
+ unsigned: false
+ visible: true
+ procost:
+ caseSensitive: true
+ dataType: 7
+ generated: false
+ name: procost
+ primaryKey: false
+ unsigned: false
+ visible: true
+ prorows:
+ caseSensitive: true
+ dataType: 7
+ generated: false
+ name: prorows
+ primaryKey: false
+ unsigned: false
+ visible: true
+ provariadic:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: provariadic
+ primaryKey: false
+ unsigned: false
+ visible: true
+ prosupport:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: prosupport
+ primaryKey: false
+ unsigned: false
+ visible: true
+ prokind:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: prokind
+ primaryKey: false
+ unsigned: false
+ visible: true
+ prosecdef:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: prosecdef
+ primaryKey: false
+ unsigned: false
+ visible: true
+ proleakproof:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: proleakproof
+ primaryKey: false
+ unsigned: false
+ visible: true
+ proisstrict:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: proisstrict
+ primaryKey: false
+ unsigned: false
+ visible: true
+ proretset:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: proretset
+ primaryKey: false
+ unsigned: false
+ visible: true
+ provolatile:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: provolatile
+ primaryKey: false
+ unsigned: false
+ visible: true
+ proparallel:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: proparallel
+ primaryKey: false
+ unsigned: false
+ visible: true
+ pronargs:
+ caseSensitive: true
+ dataType: 5
+ generated: false
+ name: pronargs
+ primaryKey: false
+ unsigned: false
+ visible: true
+ pronargdefaults:
+ caseSensitive: true
+ dataType: 5
+ generated: false
+ name: pronargdefaults
+ primaryKey: false
+ unsigned: false
+ visible: true
+ prorettype:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: prorettype
+ primaryKey: false
+ unsigned: false
+ visible: true
+ proargtypes:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: proargtypes
+ primaryKey: false
+ unsigned: false
+ visible: true
+ proallargtypes:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: proallargtypes
+ primaryKey: false
+ unsigned: false
+ visible: true
+ proargmodes:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: proargmodes
+ primaryKey: false
+ unsigned: false
+ visible: true
+ proargnames:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: proargnames
+ primaryKey: false
+ unsigned: false
+ visible: true
+ proargdefaults:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: proargdefaults
+ primaryKey: false
+ unsigned: false
+ visible: true
+ protrftypes:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: protrftypes
+ primaryKey: false
+ unsigned: false
+ visible: true
+ prosrc:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: prosrc
+ primaryKey: false
+ unsigned: false
+ visible: true
+ probin:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: probin
+ primaryKey: false
+ unsigned: false
+ visible: true
+ prosqlbody:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: prosqlbody
+ primaryKey: false
+ unsigned: false
+ visible: true
+ proconfig:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: proconfig
+ primaryKey: false
+ unsigned: false
+ visible: true
+ proacl:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: proacl
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_proc_proname_args_nsp_index:
+ name: pg_proc_proname_args_nsp_index
+ pg_proc_oid_index:
+ name: pg_proc_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_publication.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_publication.yaml
new file mode 100644
index 00000000000..35c2668dd69
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_publication.yaml
@@ -0,0 +1,96 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_publication
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ pubname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: pubname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ pubowner:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: pubowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ puballtables:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: puballtables
+ primaryKey: false
+ unsigned: false
+ visible: true
+ pubinsert:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: pubinsert
+ primaryKey: false
+ unsigned: false
+ visible: true
+ pubupdate:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: pubupdate
+ primaryKey: false
+ unsigned: false
+ visible: true
+ pubdelete:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: pubdelete
+ primaryKey: false
+ unsigned: false
+ visible: true
+ pubtruncate:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: pubtruncate
+ primaryKey: false
+ unsigned: false
+ visible: true
+ pubviaroot:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: pubviaroot
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_publication_pubname_index:
+ name: pg_publication_pubname_index
+ pg_publication_oid_index:
+ name: pg_publication_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_publication_rel.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_publication_rel.yaml
new file mode 100644
index 00000000000..211fdb5c643
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_publication_rel.yaml
@@ -0,0 +1,48 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_publication_rel
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ prpubid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: prpubid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ prrelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: prrelid
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_publication_rel_prrelid_prpubid_index:
+ name: pg_publication_rel_prrelid_prpubid_index
+ pg_publication_rel_oid_index:
+ name: pg_publication_rel_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_publication_tables.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_publication_tables.yaml
new file mode 100644
index 00000000000..48c5365d140
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_publication_tables.yaml
@@ -0,0 +1,43 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_publication_tables
+columns:
+ pubname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: pubname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tablename:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: tablename
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_replication_origin_status.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_replication_origin_status.yaml
new file mode 100644
index 00000000000..827fa3f26f6
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_replication_origin_status.yaml
@@ -0,0 +1,51 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_replication_origin_status
+columns:
+ local_id:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: local_id
+ primaryKey: false
+ unsigned: false
+ visible: true
+ external_id:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: external_id
+ primaryKey: false
+ unsigned: false
+ visible: true
+ remote_lsn:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: remote_lsn
+ primaryKey: false
+ unsigned: false
+ visible: true
+ local_lsn:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: local_lsn
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_replication_slots.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_replication_slots.yaml
new file mode 100644
index 00000000000..1deba5942d2
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_replication_slots.yaml
@@ -0,0 +1,139 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_replication_slots
+columns:
+ slot_name:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: slot_name
+ primaryKey: false
+ unsigned: false
+ visible: true
+ plugin:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: plugin
+ primaryKey: false
+ unsigned: false
+ visible: true
+ slot_type:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: slot_type
+ primaryKey: false
+ unsigned: false
+ visible: true
+ datoid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: datoid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ database:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: database
+ primaryKey: false
+ unsigned: false
+ visible: true
+ temporary:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: temporary
+ primaryKey: false
+ unsigned: false
+ visible: true
+ active:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: active
+ primaryKey: false
+ unsigned: false
+ visible: true
+ active_pid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: active_pid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ xmin:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: xmin
+ primaryKey: false
+ unsigned: false
+ visible: true
+ catalog_xmin:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: catalog_xmin
+ primaryKey: false
+ unsigned: false
+ visible: true
+ restart_lsn:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: restart_lsn
+ primaryKey: false
+ unsigned: false
+ visible: true
+ confirmed_flush_lsn:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: confirmed_flush_lsn
+ primaryKey: false
+ unsigned: false
+ visible: true
+ wal_status:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: wal_status
+ primaryKey: false
+ unsigned: false
+ visible: true
+ safe_wal_size:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: safe_wal_size
+ primaryKey: false
+ unsigned: false
+ visible: true
+ two_phase:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: two_phase
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_rules.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_rules.yaml
new file mode 100644
index 00000000000..2f755f48a3b
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_rules.yaml
@@ -0,0 +1,51 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_rules
+columns:
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tablename:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: tablename
+ primaryKey: false
+ unsigned: false
+ visible: true
+ rulename:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: rulename
+ primaryKey: false
+ unsigned: false
+ visible: true
+ definition:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: definition
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_seclabels.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_seclabels.yaml
new file mode 100644
index 00000000000..1d1c1ede3af
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_seclabels.yaml
@@ -0,0 +1,83 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_seclabels
+columns:
+ objoid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: objoid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ classoid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: classoid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ objsubid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: objsubid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ objtype:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: objtype
+ primaryKey: false
+ unsigned: false
+ visible: true
+ objnamespace:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: objnamespace
+ primaryKey: false
+ unsigned: false
+ visible: true
+ objname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: objname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ provider:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: provider
+ primaryKey: false
+ unsigned: false
+ visible: true
+ label:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: label
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_sequences.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_sequences.yaml
new file mode 100644
index 00000000000..5048dff24d6
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_sequences.yaml
@@ -0,0 +1,107 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_sequences
+columns:
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ sequencename:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: sequencename
+ primaryKey: false
+ unsigned: false
+ visible: true
+ sequenceowner:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: sequenceowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ data_type:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: data_type
+ primaryKey: false
+ unsigned: false
+ visible: true
+ start_value:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: start_value
+ primaryKey: false
+ unsigned: false
+ visible: true
+ min_value:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: min_value
+ primaryKey: false
+ unsigned: false
+ visible: true
+ max_value:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: max_value
+ primaryKey: false
+ unsigned: false
+ visible: true
+ increment_by:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: increment_by
+ primaryKey: false
+ unsigned: false
+ visible: true
+ cycle:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: cycle
+ primaryKey: false
+ unsigned: false
+ visible: true
+ cache_size:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: cache_size
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_value:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: last_value
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_settings.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_settings.yaml
new file mode 100644
index 00000000000..095f6502acd
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_settings.yaml
@@ -0,0 +1,155 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_settings
+columns:
+ name:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: name
+ primaryKey: false
+ unsigned: false
+ visible: true
+ setting:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: setting
+ primaryKey: false
+ unsigned: false
+ visible: true
+ unit:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: unit
+ primaryKey: false
+ unsigned: false
+ visible: true
+ category:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: category
+ primaryKey: false
+ unsigned: false
+ visible: true
+ short_desc:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: short_desc
+ primaryKey: false
+ unsigned: false
+ visible: true
+ extra_desc:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: extra_desc
+ primaryKey: false
+ unsigned: false
+ visible: true
+ context:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: context
+ primaryKey: false
+ unsigned: false
+ visible: true
+ vartype:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: vartype
+ primaryKey: false
+ unsigned: false
+ visible: true
+ source:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: source
+ primaryKey: false
+ unsigned: false
+ visible: true
+ min_val:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: min_val
+ primaryKey: false
+ unsigned: false
+ visible: true
+ max_val:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: max_val
+ primaryKey: false
+ unsigned: false
+ visible: true
+ enumvals:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: enumvals
+ primaryKey: false
+ unsigned: false
+ visible: true
+ boot_val:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: boot_val
+ primaryKey: false
+ unsigned: false
+ visible: true
+ reset_val:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: reset_val
+ primaryKey: false
+ unsigned: false
+ visible: true
+ sourcefile:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: sourcefile
+ primaryKey: false
+ unsigned: false
+ visible: true
+ sourceline:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: sourceline
+ primaryKey: false
+ unsigned: false
+ visible: true
+ pending_restart:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: pending_restart
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_shadow.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_shadow.yaml
new file mode 100644
index 00000000000..1b9485407f8
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_shadow.yaml
@@ -0,0 +1,91 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_shadow
+columns:
+ usename:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: usename
+ primaryKey: false
+ unsigned: false
+ visible: true
+ usesysid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: usesysid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ usecreatedb:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: usecreatedb
+ primaryKey: false
+ unsigned: false
+ visible: true
+ usesuper:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: usesuper
+ primaryKey: false
+ unsigned: false
+ visible: true
+ userepl:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: userepl
+ primaryKey: false
+ unsigned: false
+ visible: true
+ usebypassrls:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: usebypassrls
+ primaryKey: false
+ unsigned: false
+ visible: true
+ passwd:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: passwd
+ primaryKey: false
+ unsigned: false
+ visible: true
+ valuntil:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: valuntil
+ primaryKey: false
+ unsigned: false
+ visible: true
+ useconfig:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: useconfig
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_shdepend.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_shdepend.yaml
new file mode 100644
index 00000000000..6f2e41fe2a1
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_shdepend.yaml
@@ -0,0 +1,80 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_shdepend
+columns:
+ dbid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: dbid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ classid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: classid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ objid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: objid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ objsubid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: objsubid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ refclassid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: refclassid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ refobjid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: refobjid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ deptype:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: deptype
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_shdepend_depender_index:
+ name: pg_shdepend_depender_index
+ pg_shdepend_reference_index:
+ name: pg_shdepend_reference_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_shdescription.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_shdescription.yaml
new file mode 100644
index 00000000000..11673a8e372
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_shdescription.yaml
@@ -0,0 +1,46 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_shdescription
+columns:
+ objoid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: objoid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ classoid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: classoid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ description:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: description
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_shdescription_o_c_index:
+ name: pg_shdescription_o_c_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_shmem_allocations.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_shmem_allocations.yaml
new file mode 100644
index 00000000000..49824e52d75
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_shmem_allocations.yaml
@@ -0,0 +1,51 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_shmem_allocations
+columns:
+ name:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: name
+ primaryKey: false
+ unsigned: false
+ visible: true
+ 'off':
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: 'off'
+ primaryKey: false
+ unsigned: false
+ visible: true
+ size:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: size
+ primaryKey: false
+ unsigned: false
+ visible: true
+ allocated_size:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: allocated_size
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_shseclabel.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_shseclabel.yaml
new file mode 100644
index 00000000000..db8a3bea852
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_shseclabel.yaml
@@ -0,0 +1,54 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_shseclabel
+columns:
+ objoid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: objoid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ classoid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: classoid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ provider:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: provider
+ primaryKey: true
+ unsigned: false
+ visible: true
+ label:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: label
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_shseclabel_object_index:
+ name: pg_shseclabel_object_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_activity.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_activity.yaml
new file mode 100644
index 00000000000..37a902b23d3
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_activity.yaml
@@ -0,0 +1,195 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_activity
+columns:
+ datid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: datid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ datname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: datname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ pid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: pid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ leader_pid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: leader_pid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ usesysid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: usesysid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ usename:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: usename
+ primaryKey: false
+ unsigned: false
+ visible: true
+ application_name:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: application_name
+ primaryKey: false
+ unsigned: false
+ visible: true
+ client_addr:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: client_addr
+ primaryKey: false
+ unsigned: false
+ visible: true
+ client_hostname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: client_hostname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ client_port:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: client_port
+ primaryKey: false
+ unsigned: false
+ visible: true
+ backend_start:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: backend_start
+ primaryKey: false
+ unsigned: false
+ visible: true
+ xact_start:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: xact_start
+ primaryKey: false
+ unsigned: false
+ visible: true
+ query_start:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: query_start
+ primaryKey: false
+ unsigned: false
+ visible: true
+ state_change:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: state_change
+ primaryKey: false
+ unsigned: false
+ visible: true
+ wait_event_type:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: wait_event_type
+ primaryKey: false
+ unsigned: false
+ visible: true
+ wait_event:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: wait_event
+ primaryKey: false
+ unsigned: false
+ visible: true
+ state:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: state
+ primaryKey: false
+ unsigned: false
+ visible: true
+ backend_xid:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: backend_xid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ backend_xmin:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: backend_xmin
+ primaryKey: false
+ unsigned: false
+ visible: true
+ query_id:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: query_id
+ primaryKey: false
+ unsigned: false
+ visible: true
+ query:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: query
+ primaryKey: false
+ unsigned: false
+ visible: true
+ backend_type:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: backend_type
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_all_indexes.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_all_indexes.yaml
new file mode 100644
index 00000000000..162435f1db6
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_all_indexes.yaml
@@ -0,0 +1,83 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_all_indexes
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indexrelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: indexrelid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indexrelname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: indexrelname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_scan:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_scan
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_tup_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_tup_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_tup_fetch:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_tup_fetch
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_all_tables.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_all_tables.yaml
new file mode 100644
index 00000000000..ebab0309481
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_all_tables.yaml
@@ -0,0 +1,203 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_all_tables
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ seq_scan:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: seq_scan
+ primaryKey: false
+ unsigned: false
+ visible: true
+ seq_tup_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: seq_tup_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_scan:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_scan
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_tup_fetch:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_tup_fetch
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_ins:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_ins
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_upd:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_upd
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_del:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_del
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_hot_upd:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_hot_upd
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_live_tup:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_live_tup
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_dead_tup:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_dead_tup
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_mod_since_analyze:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_mod_since_analyze
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_ins_since_vacuum:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_ins_since_vacuum
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_vacuum:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_vacuum
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_autovacuum:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_autovacuum
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_analyze:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_analyze
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_autoanalyze:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_autoanalyze
+ primaryKey: false
+ unsigned: false
+ visible: true
+ vacuum_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: vacuum_count
+ primaryKey: false
+ unsigned: false
+ visible: true
+ autovacuum_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: autovacuum_count
+ primaryKey: false
+ unsigned: false
+ visible: true
+ analyze_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: analyze_count
+ primaryKey: false
+ unsigned: false
+ visible: true
+ autoanalyze_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: autoanalyze_count
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_archiver.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_archiver.yaml
new file mode 100644
index 00000000000..0ef36a23be7
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_archiver.yaml
@@ -0,0 +1,75 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_archiver
+columns:
+ archived_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: archived_count
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_archived_wal:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: last_archived_wal
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_archived_time:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_archived_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ failed_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: failed_count
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_failed_wal:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: last_failed_wal
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_failed_time:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_failed_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stats_reset:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: stats_reset
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_bgwriter.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_bgwriter.yaml
new file mode 100644
index 00000000000..cdcd4f1a145
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_bgwriter.yaml
@@ -0,0 +1,107 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_bgwriter
+columns:
+ checkpoints_timed:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: checkpoints_timed
+ primaryKey: false
+ unsigned: false
+ visible: true
+ checkpoints_req:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: checkpoints_req
+ primaryKey: false
+ unsigned: false
+ visible: true
+ checkpoint_write_time:
+ caseSensitive: true
+ dataType: 8
+ generated: false
+ name: checkpoint_write_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ checkpoint_sync_time:
+ caseSensitive: true
+ dataType: 8
+ generated: false
+ name: checkpoint_sync_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ buffers_checkpoint:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: buffers_checkpoint
+ primaryKey: false
+ unsigned: false
+ visible: true
+ buffers_clean:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: buffers_clean
+ primaryKey: false
+ unsigned: false
+ visible: true
+ maxwritten_clean:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: maxwritten_clean
+ primaryKey: false
+ unsigned: false
+ visible: true
+ buffers_backend:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: buffers_backend
+ primaryKey: false
+ unsigned: false
+ visible: true
+ buffers_backend_fsync:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: buffers_backend_fsync
+ primaryKey: false
+ unsigned: false
+ visible: true
+ buffers_alloc:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: buffers_alloc
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stats_reset:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: stats_reset
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_database.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_database.yaml
new file mode 100644
index 00000000000..bef34e14fea
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_database.yaml
@@ -0,0 +1,243 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_database
+columns:
+ datid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: datid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ datname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: datname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ numbackends:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: numbackends
+ primaryKey: false
+ unsigned: false
+ visible: true
+ xact_commit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: xact_commit
+ primaryKey: false
+ unsigned: false
+ visible: true
+ xact_rollback:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: xact_rollback
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tup_returned:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: tup_returned
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tup_fetched:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: tup_fetched
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tup_inserted:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: tup_inserted
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tup_updated:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: tup_updated
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tup_deleted:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: tup_deleted
+ primaryKey: false
+ unsigned: false
+ visible: true
+ conflicts:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: conflicts
+ primaryKey: false
+ unsigned: false
+ visible: true
+ temp_files:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: temp_files
+ primaryKey: false
+ unsigned: false
+ visible: true
+ temp_bytes:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: temp_bytes
+ primaryKey: false
+ unsigned: false
+ visible: true
+ deadlocks:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: deadlocks
+ primaryKey: false
+ unsigned: false
+ visible: true
+ checksum_failures:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: checksum_failures
+ primaryKey: false
+ unsigned: false
+ visible: true
+ checksum_last_failure:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: checksum_last_failure
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blk_read_time:
+ caseSensitive: true
+ dataType: 8
+ generated: false
+ name: blk_read_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blk_write_time:
+ caseSensitive: true
+ dataType: 8
+ generated: false
+ name: blk_write_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ session_time:
+ caseSensitive: true
+ dataType: 8
+ generated: false
+ name: session_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ active_time:
+ caseSensitive: true
+ dataType: 8
+ generated: false
+ name: active_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idle_in_transaction_time:
+ caseSensitive: true
+ dataType: 8
+ generated: false
+ name: idle_in_transaction_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ sessions:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: sessions
+ primaryKey: false
+ unsigned: false
+ visible: true
+ sessions_abandoned:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: sessions_abandoned
+ primaryKey: false
+ unsigned: false
+ visible: true
+ sessions_fatal:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: sessions_fatal
+ primaryKey: false
+ unsigned: false
+ visible: true
+ sessions_killed:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: sessions_killed
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stats_reset:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: stats_reset
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_progress_copy.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_progress_copy.yaml
new file mode 100644
index 00000000000..010cb4468ee
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_progress_copy.yaml
@@ -0,0 +1,99 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_progress_copy
+columns:
+ pid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: pid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ datid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: datid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ datname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: datname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ command:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: command
+ primaryKey: false
+ unsigned: false
+ visible: true
+ type:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: type
+ primaryKey: false
+ unsigned: false
+ visible: true
+ bytes_processed:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: bytes_processed
+ primaryKey: false
+ unsigned: false
+ visible: true
+ bytes_total:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: bytes_total
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tuples_processed:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: tuples_processed
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tuples_excluded:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: tuples_excluded
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_progress_create_index.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_progress_create_index.yaml
new file mode 100644
index 00000000000..011f878a307
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_progress_create_index.yaml
@@ -0,0 +1,147 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_progress_create_index
+columns:
+ pid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: pid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ datid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: datid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ datname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: datname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ index_relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: index_relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ command:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: command
+ primaryKey: false
+ unsigned: false
+ visible: true
+ phase:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: phase
+ primaryKey: false
+ unsigned: false
+ visible: true
+ lockers_total:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: lockers_total
+ primaryKey: false
+ unsigned: false
+ visible: true
+ lockers_done:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: lockers_done
+ primaryKey: false
+ unsigned: false
+ visible: true
+ current_locker_pid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: current_locker_pid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blocks_total:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: blocks_total
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blocks_done:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: blocks_done
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tuples_total:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: tuples_total
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tuples_done:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: tuples_done
+ primaryKey: false
+ unsigned: false
+ visible: true
+ partitions_total:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: partitions_total
+ primaryKey: false
+ unsigned: false
+ visible: true
+ partitions_done:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: partitions_done
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_progress_vacuum.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_progress_vacuum.yaml
new file mode 100644
index 00000000000..ab27e035866
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_progress_vacuum.yaml
@@ -0,0 +1,107 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_progress_vacuum
+columns:
+ pid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: pid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ datid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: datid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ datname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: datname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ phase:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: phase
+ primaryKey: false
+ unsigned: false
+ visible: true
+ heap_blks_total:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: heap_blks_total
+ primaryKey: false
+ unsigned: false
+ visible: true
+ heap_blks_scanned:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: heap_blks_scanned
+ primaryKey: false
+ unsigned: false
+ visible: true
+ heap_blks_vacuumed:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: heap_blks_vacuumed
+ primaryKey: false
+ unsigned: false
+ visible: true
+ index_vacuum_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: index_vacuum_count
+ primaryKey: false
+ unsigned: false
+ visible: true
+ max_dead_tuples:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: max_dead_tuples
+ primaryKey: false
+ unsigned: false
+ visible: true
+ num_dead_tuples:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: num_dead_tuples
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_replication.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_replication.yaml
new file mode 100644
index 00000000000..2864ac25d03
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_replication.yaml
@@ -0,0 +1,179 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_replication
+columns:
+ pid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: pid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ usesysid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: usesysid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ usename:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: usename
+ primaryKey: false
+ unsigned: false
+ visible: true
+ application_name:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: application_name
+ primaryKey: false
+ unsigned: false
+ visible: true
+ client_addr:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: client_addr
+ primaryKey: false
+ unsigned: false
+ visible: true
+ client_hostname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: client_hostname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ client_port:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: client_port
+ primaryKey: false
+ unsigned: false
+ visible: true
+ backend_start:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: backend_start
+ primaryKey: false
+ unsigned: false
+ visible: true
+ backend_xmin:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: backend_xmin
+ primaryKey: false
+ unsigned: false
+ visible: true
+ state:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: state
+ primaryKey: false
+ unsigned: false
+ visible: true
+ sent_lsn:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: sent_lsn
+ primaryKey: false
+ unsigned: false
+ visible: true
+ write_lsn:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: write_lsn
+ primaryKey: false
+ unsigned: false
+ visible: true
+ flush_lsn:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: flush_lsn
+ primaryKey: false
+ unsigned: false
+ visible: true
+ replay_lsn:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: replay_lsn
+ primaryKey: false
+ unsigned: false
+ visible: true
+ write_lag:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: write_lag
+ primaryKey: false
+ unsigned: false
+ visible: true
+ flush_lag:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: flush_lag
+ primaryKey: false
+ unsigned: false
+ visible: true
+ replay_lag:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: replay_lag
+ primaryKey: false
+ unsigned: false
+ visible: true
+ sync_priority:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: sync_priority
+ primaryKey: false
+ unsigned: false
+ visible: true
+ sync_state:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: sync_state
+ primaryKey: false
+ unsigned: false
+ visible: true
+ reply_time:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: reply_time
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_replication_slots.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_replication_slots.yaml
new file mode 100644
index 00000000000..f51af9aa1e8
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_replication_slots.yaml
@@ -0,0 +1,99 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_replication_slots
+columns:
+ slot_name:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: slot_name
+ primaryKey: false
+ unsigned: false
+ visible: true
+ spill_txns:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: spill_txns
+ primaryKey: false
+ unsigned: false
+ visible: true
+ spill_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: spill_count
+ primaryKey: false
+ unsigned: false
+ visible: true
+ spill_bytes:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: spill_bytes
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stream_txns:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: stream_txns
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stream_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: stream_count
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stream_bytes:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: stream_bytes
+ primaryKey: false
+ unsigned: false
+ visible: true
+ total_txns:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: total_txns
+ primaryKey: false
+ unsigned: false
+ visible: true
+ total_bytes:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: total_bytes
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stats_reset:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: stats_reset
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_slru.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_slru.yaml
new file mode 100644
index 00000000000..39d83975530
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_slru.yaml
@@ -0,0 +1,91 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_slru
+columns:
+ name:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: name
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blks_zeroed:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: blks_zeroed
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blks_written:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: blks_written
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blks_exists:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: blks_exists
+ primaryKey: false
+ unsigned: false
+ visible: true
+ flushes:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: flushes
+ primaryKey: false
+ unsigned: false
+ visible: true
+ truncates:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: truncates
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stats_reset:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: stats_reset
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_ssl.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_ssl.yaml
new file mode 100644
index 00000000000..5c0380f9e61
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_ssl.yaml
@@ -0,0 +1,83 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_ssl
+columns:
+ pid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: pid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ ssl:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: ssl
+ primaryKey: false
+ unsigned: false
+ visible: true
+ version:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: version
+ primaryKey: false
+ unsigned: false
+ visible: true
+ cipher:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: cipher
+ primaryKey: false
+ unsigned: false
+ visible: true
+ bits:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: bits
+ primaryKey: false
+ unsigned: false
+ visible: true
+ client_dn:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: client_dn
+ primaryKey: false
+ unsigned: false
+ visible: true
+ client_serial:
+ caseSensitive: true
+ dataType: 2
+ generated: false
+ name: client_serial
+ primaryKey: false
+ unsigned: false
+ visible: true
+ issuer_dn:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: issuer_dn
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_subscription.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_subscription.yaml
new file mode 100644
index 00000000000..6df59c76e0f
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_subscription.yaml
@@ -0,0 +1,91 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_subscription
+columns:
+ subid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: subid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ subname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: subname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ pid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: pid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ received_lsn:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: received_lsn
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_msg_send_time:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_msg_send_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_msg_receipt_time:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_msg_receipt_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ latest_end_lsn:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: latest_end_lsn
+ primaryKey: false
+ unsigned: false
+ visible: true
+ latest_end_time:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: latest_end_time
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_sys_indexes.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_sys_indexes.yaml
new file mode 100644
index 00000000000..dcdc9757d9f
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_sys_indexes.yaml
@@ -0,0 +1,83 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_sys_indexes
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indexrelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: indexrelid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indexrelname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: indexrelname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_scan:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_scan
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_tup_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_tup_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_tup_fetch:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_tup_fetch
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_sys_tables.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_sys_tables.yaml
new file mode 100644
index 00000000000..1fa74f7799b
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_sys_tables.yaml
@@ -0,0 +1,203 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_sys_tables
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ seq_scan:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: seq_scan
+ primaryKey: false
+ unsigned: false
+ visible: true
+ seq_tup_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: seq_tup_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_scan:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_scan
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_tup_fetch:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_tup_fetch
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_ins:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_ins
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_upd:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_upd
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_del:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_del
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_hot_upd:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_hot_upd
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_live_tup:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_live_tup
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_dead_tup:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_dead_tup
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_mod_since_analyze:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_mod_since_analyze
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_ins_since_vacuum:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_ins_since_vacuum
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_vacuum:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_vacuum
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_autovacuum:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_autovacuum
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_analyze:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_analyze
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_autoanalyze:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_autoanalyze
+ primaryKey: false
+ unsigned: false
+ visible: true
+ vacuum_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: vacuum_count
+ primaryKey: false
+ unsigned: false
+ visible: true
+ autovacuum_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: autovacuum_count
+ primaryKey: false
+ unsigned: false
+ visible: true
+ analyze_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: analyze_count
+ primaryKey: false
+ unsigned: false
+ visible: true
+ autoanalyze_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: autoanalyze_count
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_user_functions.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_user_functions.yaml
new file mode 100644
index 00000000000..5cbd42d0b9a
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_user_functions.yaml
@@ -0,0 +1,67 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_user_functions
+columns:
+ funcid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: funcid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ funcname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: funcname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ calls:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: calls
+ primaryKey: false
+ unsigned: false
+ visible: true
+ total_time:
+ caseSensitive: true
+ dataType: 8
+ generated: false
+ name: total_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ self_time:
+ caseSensitive: true
+ dataType: 8
+ generated: false
+ name: self_time
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_user_indexes.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_user_indexes.yaml
new file mode 100644
index 00000000000..f328325122a
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_user_indexes.yaml
@@ -0,0 +1,83 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_user_indexes
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indexrelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: indexrelid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indexrelname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: indexrelname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_scan:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_scan
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_tup_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_tup_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_tup_fetch:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_tup_fetch
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_user_tables.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_user_tables.yaml
new file mode 100644
index 00000000000..a2c1307730e
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_user_tables.yaml
@@ -0,0 +1,203 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_user_tables
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ seq_scan:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: seq_scan
+ primaryKey: false
+ unsigned: false
+ visible: true
+ seq_tup_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: seq_tup_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_scan:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_scan
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_tup_fetch:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_tup_fetch
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_ins:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_ins
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_upd:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_upd
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_del:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_del
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_hot_upd:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_hot_upd
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_live_tup:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_live_tup
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_dead_tup:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_dead_tup
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_mod_since_analyze:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_mod_since_analyze
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_ins_since_vacuum:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_ins_since_vacuum
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_vacuum:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_vacuum
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_autovacuum:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_autovacuum
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_analyze:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_analyze
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_autoanalyze:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_autoanalyze
+ primaryKey: false
+ unsigned: false
+ visible: true
+ vacuum_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: vacuum_count
+ primaryKey: false
+ unsigned: false
+ visible: true
+ autovacuum_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: autovacuum_count
+ primaryKey: false
+ unsigned: false
+ visible: true
+ analyze_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: analyze_count
+ primaryKey: false
+ unsigned: false
+ visible: true
+ autoanalyze_count:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: autoanalyze_count
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_wal.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_wal.yaml
new file mode 100644
index 00000000000..23b6dd7d4cc
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_wal.yaml
@@ -0,0 +1,91 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_wal
+columns:
+ wal_records:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: wal_records
+ primaryKey: false
+ unsigned: false
+ visible: true
+ wal_fpi:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: wal_fpi
+ primaryKey: false
+ unsigned: false
+ visible: true
+ wal_bytes:
+ caseSensitive: true
+ dataType: 2
+ generated: false
+ name: wal_bytes
+ primaryKey: false
+ unsigned: false
+ visible: true
+ wal_buffers_full:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: wal_buffers_full
+ primaryKey: false
+ unsigned: false
+ visible: true
+ wal_write:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: wal_write
+ primaryKey: false
+ unsigned: false
+ visible: true
+ wal_sync:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: wal_sync
+ primaryKey: false
+ unsigned: false
+ visible: true
+ wal_write_time:
+ caseSensitive: true
+ dataType: 8
+ generated: false
+ name: wal_write_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ wal_sync_time:
+ caseSensitive: true
+ dataType: 8
+ generated: false
+ name: wal_sync_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stats_reset:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: stats_reset
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_wal_receiver.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_wal_receiver.yaml
new file mode 100644
index 00000000000..a0574216d32
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_wal_receiver.yaml
@@ -0,0 +1,139 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_wal_receiver
+columns:
+ pid:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: pid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ status:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: status
+ primaryKey: false
+ unsigned: false
+ visible: true
+ receive_start_lsn:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: receive_start_lsn
+ primaryKey: false
+ unsigned: false
+ visible: true
+ receive_start_tli:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: receive_start_tli
+ primaryKey: false
+ unsigned: false
+ visible: true
+ written_lsn:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: written_lsn
+ primaryKey: false
+ unsigned: false
+ visible: true
+ flushed_lsn:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: flushed_lsn
+ primaryKey: false
+ unsigned: false
+ visible: true
+ received_tli:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: received_tli
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_msg_send_time:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_msg_send_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ last_msg_receipt_time:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: last_msg_receipt_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ latest_end_lsn:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: latest_end_lsn
+ primaryKey: false
+ unsigned: false
+ visible: true
+ latest_end_time:
+ caseSensitive: true
+ dataType: 93
+ generated: false
+ name: latest_end_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ slot_name:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: slot_name
+ primaryKey: false
+ unsigned: false
+ visible: true
+ sender_host:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: sender_host
+ primaryKey: false
+ unsigned: false
+ visible: true
+ sender_port:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: sender_port
+ primaryKey: false
+ unsigned: false
+ visible: true
+ conninfo:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: conninfo
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_xact_all_tables.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_xact_all_tables.yaml
new file mode 100644
index 00000000000..57f8bc88ac5
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_xact_all_tables.yaml
@@ -0,0 +1,107 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_xact_all_tables
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ seq_scan:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: seq_scan
+ primaryKey: false
+ unsigned: false
+ visible: true
+ seq_tup_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: seq_tup_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_scan:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_scan
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_tup_fetch:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_tup_fetch
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_ins:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_ins
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_upd:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_upd
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_del:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_del
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_hot_upd:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_hot_upd
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_xact_sys_tables.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_xact_sys_tables.yaml
new file mode 100644
index 00000000000..31bdbaa7114
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_xact_sys_tables.yaml
@@ -0,0 +1,107 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_xact_sys_tables
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ seq_scan:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: seq_scan
+ primaryKey: false
+ unsigned: false
+ visible: true
+ seq_tup_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: seq_tup_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_scan:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_scan
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_tup_fetch:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_tup_fetch
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_ins:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_ins
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_upd:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_upd
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_del:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_del
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_hot_upd:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_hot_upd
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_xact_user_functions.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_xact_user_functions.yaml
new file mode 100644
index 00000000000..eff350216ef
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_xact_user_functions.yaml
@@ -0,0 +1,67 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_xact_user_functions
+columns:
+ funcid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: funcid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ funcname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: funcname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ calls:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: calls
+ primaryKey: false
+ unsigned: false
+ visible: true
+ total_time:
+ caseSensitive: true
+ dataType: 8
+ generated: false
+ name: total_time
+ primaryKey: false
+ unsigned: false
+ visible: true
+ self_time:
+ caseSensitive: true
+ dataType: 8
+ generated: false
+ name: self_time
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_xact_user_tables.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_xact_user_tables.yaml
new file mode 100644
index 00000000000..a138b28c440
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stat_xact_user_tables.yaml
@@ -0,0 +1,107 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stat_xact_user_tables
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ seq_scan:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: seq_scan
+ primaryKey: false
+ unsigned: false
+ visible: true
+ seq_tup_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: seq_tup_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_scan:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_scan
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_tup_fetch:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_tup_fetch
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_ins:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_ins
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_upd:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_upd
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_del:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_del
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_tup_hot_upd:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: n_tup_hot_upd
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_all_indexes.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_all_indexes.yaml
new file mode 100644
index 00000000000..05d9760acac
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_all_indexes.yaml
@@ -0,0 +1,75 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_statio_all_indexes
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indexrelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: indexrelid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indexrelname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: indexrelname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_all_sequences.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_all_sequences.yaml
new file mode 100644
index 00000000000..9aef4574efd
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_all_sequences.yaml
@@ -0,0 +1,59 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_statio_all_sequences
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_all_tables.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_all_tables.yaml
new file mode 100644
index 00000000000..048e5a3a510
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_all_tables.yaml
@@ -0,0 +1,107 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_statio_all_tables
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ heap_blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: heap_blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ heap_blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: heap_blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
+ toast_blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: toast_blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ toast_blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: toast_blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tidx_blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: tidx_blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tidx_blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: tidx_blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_sys_indexes.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_sys_indexes.yaml
new file mode 100644
index 00000000000..5c7a5362801
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_sys_indexes.yaml
@@ -0,0 +1,75 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_statio_sys_indexes
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indexrelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: indexrelid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indexrelname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: indexrelname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_sys_sequences.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_sys_sequences.yaml
new file mode 100644
index 00000000000..22b0e290a3f
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_sys_sequences.yaml
@@ -0,0 +1,59 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_statio_sys_sequences
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_sys_tables.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_sys_tables.yaml
new file mode 100644
index 00000000000..d026c0f19e3
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_sys_tables.yaml
@@ -0,0 +1,107 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_statio_sys_tables
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ heap_blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: heap_blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ heap_blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: heap_blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
+ toast_blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: toast_blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ toast_blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: toast_blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tidx_blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: tidx_blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tidx_blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: tidx_blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_user_indexes.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_user_indexes.yaml
new file mode 100644
index 00000000000..c65a86a02ca
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_user_indexes.yaml
@@ -0,0 +1,75 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_statio_user_indexes
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indexrelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: indexrelid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ indexrelname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: indexrelname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_user_sequences.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_user_sequences.yaml
new file mode 100644
index 00000000000..acfef246200
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_user_sequences.yaml
@@ -0,0 +1,59 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_statio_user_sequences
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_user_tables.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_user_tables.yaml
new file mode 100644
index 00000000000..8bf2672096e
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statio_user_tables.yaml
@@ -0,0 +1,107 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_statio_user_tables
+columns:
+ relid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: relid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ relname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: relname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ heap_blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: heap_blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ heap_blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: heap_blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ idx_blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: idx_blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
+ toast_blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: toast_blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ toast_blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: toast_blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tidx_blks_read:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: tidx_blks_read
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tidx_blks_hit:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: tidx_blks_hit
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statistic.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statistic.yaml
new file mode 100644
index 00000000000..595166085c1
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statistic.yaml
@@ -0,0 +1,270 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_statistic
+columns:
+ starelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: starelid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ staattnum:
+ caseSensitive: true
+ dataType: 5
+ generated: false
+ name: staattnum
+ primaryKey: true
+ unsigned: false
+ visible: true
+ stainherit:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: stainherit
+ primaryKey: true
+ unsigned: false
+ visible: true
+ stanullfrac:
+ caseSensitive: true
+ dataType: 7
+ generated: false
+ name: stanullfrac
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stawidth:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: stawidth
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stadistinct:
+ caseSensitive: true
+ dataType: 7
+ generated: false
+ name: stadistinct
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stakind1:
+ caseSensitive: true
+ dataType: 5
+ generated: false
+ name: stakind1
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stakind2:
+ caseSensitive: true
+ dataType: 5
+ generated: false
+ name: stakind2
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stakind3:
+ caseSensitive: true
+ dataType: 5
+ generated: false
+ name: stakind3
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stakind4:
+ caseSensitive: true
+ dataType: 5
+ generated: false
+ name: stakind4
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stakind5:
+ caseSensitive: true
+ dataType: 5
+ generated: false
+ name: stakind5
+ primaryKey: false
+ unsigned: false
+ visible: true
+ staop1:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: staop1
+ primaryKey: false
+ unsigned: false
+ visible: true
+ staop2:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: staop2
+ primaryKey: false
+ unsigned: false
+ visible: true
+ staop3:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: staop3
+ primaryKey: false
+ unsigned: false
+ visible: true
+ staop4:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: staop4
+ primaryKey: false
+ unsigned: false
+ visible: true
+ staop5:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: staop5
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stacoll1:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: stacoll1
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stacoll2:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: stacoll2
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stacoll3:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: stacoll3
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stacoll4:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: stacoll4
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stacoll5:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: stacoll5
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stanumbers1:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: stanumbers1
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stanumbers2:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: stanumbers2
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stanumbers3:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: stanumbers3
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stanumbers4:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: stanumbers4
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stanumbers5:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: stanumbers5
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stavalues1:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: stavalues1
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stavalues2:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: stavalues2
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stavalues3:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: stavalues3
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stavalues4:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: stavalues4
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stavalues5:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: stavalues5
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_statistic_relid_att_inh_index:
+ name: pg_statistic_relid_att_inh_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statistic_ext.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statistic_ext.yaml
new file mode 100644
index 00000000000..61f8cc6735e
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statistic_ext.yaml
@@ -0,0 +1,98 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_statistic_ext
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ stxrelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: stxrelid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stxname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: stxname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stxnamespace:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: stxnamespace
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stxowner:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: stxowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stxstattarget:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: stxstattarget
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stxkeys:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: stxkeys
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stxkind:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: stxkind
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stxexprs:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: stxexprs
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_statistic_ext_name_index:
+ name: pg_statistic_ext_name_index
+ pg_statistic_ext_relid_index:
+ name: pg_statistic_ext_relid_index
+ pg_statistic_ext_oid_index:
+ name: pg_statistic_ext_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statistic_ext_data.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statistic_ext_data.yaml
new file mode 100644
index 00000000000..756d72582c5
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_statistic_ext_data.yaml
@@ -0,0 +1,62 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_statistic_ext_data
+columns:
+ stxoid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: stxoid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ stxdndistinct:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: stxdndistinct
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stxddependencies:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: stxddependencies
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stxdmcv:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: stxdmcv
+ primaryKey: false
+ unsigned: false
+ visible: true
+ stxdexpr:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: stxdexpr
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_statistic_ext_data_stxoid_index:
+ name: pg_statistic_ext_data_stxoid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stats.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stats.yaml
new file mode 100644
index 00000000000..b23a08e3a12
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stats.yaml
@@ -0,0 +1,131 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stats
+columns:
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tablename:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: tablename
+ primaryKey: false
+ unsigned: false
+ visible: true
+ attname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: attname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ inherited:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: inherited
+ primaryKey: false
+ unsigned: false
+ visible: true
+ null_frac:
+ caseSensitive: true
+ dataType: 7
+ generated: false
+ name: null_frac
+ primaryKey: false
+ unsigned: false
+ visible: true
+ avg_width:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: avg_width
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_distinct:
+ caseSensitive: true
+ dataType: 7
+ generated: false
+ name: n_distinct
+ primaryKey: false
+ unsigned: false
+ visible: true
+ most_common_vals:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: most_common_vals
+ primaryKey: false
+ unsigned: false
+ visible: true
+ most_common_freqs:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: most_common_freqs
+ primaryKey: false
+ unsigned: false
+ visible: true
+ histogram_bounds:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: histogram_bounds
+ primaryKey: false
+ unsigned: false
+ visible: true
+ correlation:
+ caseSensitive: true
+ dataType: 7
+ generated: false
+ name: correlation
+ primaryKey: false
+ unsigned: false
+ visible: true
+ most_common_elems:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: most_common_elems
+ primaryKey: false
+ unsigned: false
+ visible: true
+ most_common_elem_freqs:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: most_common_elem_freqs
+ primaryKey: false
+ unsigned: false
+ visible: true
+ elem_count_histogram:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: elem_count_histogram
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stats_ext.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stats_ext.yaml
new file mode 100644
index 00000000000..f40c871c71f
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stats_ext.yaml
@@ -0,0 +1,131 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stats_ext
+columns:
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tablename:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: tablename
+ primaryKey: false
+ unsigned: false
+ visible: true
+ statistics_schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: statistics_schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ statistics_name:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: statistics_name
+ primaryKey: false
+ unsigned: false
+ visible: true
+ statistics_owner:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: statistics_owner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ attnames:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: attnames
+ primaryKey: false
+ unsigned: false
+ visible: true
+ exprs:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: exprs
+ primaryKey: false
+ unsigned: false
+ visible: true
+ kinds:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: kinds
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_distinct:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: n_distinct
+ primaryKey: false
+ unsigned: false
+ visible: true
+ dependencies:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: dependencies
+ primaryKey: false
+ unsigned: false
+ visible: true
+ most_common_vals:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: most_common_vals
+ primaryKey: false
+ unsigned: false
+ visible: true
+ most_common_val_nulls:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: most_common_val_nulls
+ primaryKey: false
+ unsigned: false
+ visible: true
+ most_common_freqs:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: most_common_freqs
+ primaryKey: false
+ unsigned: false
+ visible: true
+ most_common_base_freqs:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: most_common_base_freqs
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stats_ext_exprs.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stats_ext_exprs.yaml
new file mode 100644
index 00000000000..3df88a0fa66
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_stats_ext_exprs.yaml
@@ -0,0 +1,147 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_stats_ext_exprs
+columns:
+ schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ tablename:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: tablename
+ primaryKey: false
+ unsigned: false
+ visible: true
+ statistics_schemaname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: statistics_schemaname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ statistics_name:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: statistics_name
+ primaryKey: false
+ unsigned: false
+ visible: true
+ statistics_owner:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: statistics_owner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ expr:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: expr
+ primaryKey: false
+ unsigned: false
+ visible: true
+ null_frac:
+ caseSensitive: true
+ dataType: 7
+ generated: false
+ name: null_frac
+ primaryKey: false
+ unsigned: false
+ visible: true
+ avg_width:
+ caseSensitive: true
+ dataType: 4
+ generated: false
+ name: avg_width
+ primaryKey: false
+ unsigned: false
+ visible: true
+ n_distinct:
+ caseSensitive: true
+ dataType: 7
+ generated: false
+ name: n_distinct
+ primaryKey: false
+ unsigned: false
+ visible: true
+ most_common_vals:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: most_common_vals
+ primaryKey: false
+ unsigned: false
+ visible: true
+ most_common_freqs:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: most_common_freqs
+ primaryKey: false
+ unsigned: false
+ visible: true
+ histogram_bounds:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: histogram_bounds
+ primaryKey: false
+ unsigned: false
+ visible: true
+ correlation:
+ caseSensitive: true
+ dataType: 7
+ generated: false
+ name: correlation
+ primaryKey: false
+ unsigned: false
+ visible: true
+ most_common_elems:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: most_common_elems
+ primaryKey: false
+ unsigned: false
+ visible: true
+ most_common_elem_freqs:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: most_common_elem_freqs
+ primaryKey: false
+ unsigned: false
+ visible: true
+ elem_count_histogram:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: elem_count_histogram
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_subscription.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_subscription.yaml
new file mode 100644
index 00000000000..575504b05bf
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_subscription.yaml
@@ -0,0 +1,112 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_subscription
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ subdbid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: subdbid
+ primaryKey: false
+ unsigned: false
+ visible: true
+ subname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: subname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ subowner:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: subowner
+ primaryKey: false
+ unsigned: false
+ visible: true
+ subenabled:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: subenabled
+ primaryKey: false
+ unsigned: false
+ visible: true
+ subbinary:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: subbinary
+ primaryKey: false
+ unsigned: false
+ visible: true
+ substream:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: substream
+ primaryKey: false
+ unsigned: false
+ visible: true
+ subconninfo:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: subconninfo
+ primaryKey: false
+ unsigned: false
+ visible: true
+ subslotname:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: subslotname
+ primaryKey: false
+ unsigned: false
+ visible: true
+ subsynccommit:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: subsynccommit
+ primaryKey: false
+ unsigned: false
+ visible: true
+ subpublications:
+ caseSensitive: true
+ dataType: 2003
+ generated: false
+ name: subpublications
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_subscription_subname_index:
+ name: pg_subscription_subname_index
+ pg_subscription_oid_index:
+ name: pg_subscription_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_subscription_rel.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_subscription_rel.yaml
new file mode 100644
index 00000000000..00f6f6f764f
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_subscription_rel.yaml
@@ -0,0 +1,54 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_subscription_rel
+columns:
+ srsubid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: srsubid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ srrelid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: srrelid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ srsubstate:
+ caseSensitive: true
+ dataType: 1
+ generated: false
+ name: srsubstate
+ primaryKey: false
+ unsigned: false
+ visible: true
+ srsublsn:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: srsublsn
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_subscription_rel_srrelid_srsubid_index:
+ name: pg_subscription_rel_srrelid_srsubid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_timezone_abbrevs.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_timezone_abbrevs.yaml
new file mode 100644
index 00000000000..ef4d983a2c5
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_timezone_abbrevs.yaml
@@ -0,0 +1,43 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_timezone_abbrevs
+columns:
+ abbrev:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: abbrev
+ primaryKey: false
+ unsigned: false
+ visible: true
+ utc_offset:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: utc_offset
+ primaryKey: false
+ unsigned: false
+ visible: true
+ is_dst:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: is_dst
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_timezone_names.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_timezone_names.yaml
new file mode 100644
index 00000000000..01e90c2cc15
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_timezone_names.yaml
@@ -0,0 +1,51 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_timezone_names
+columns:
+ name:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: name
+ primaryKey: false
+ unsigned: false
+ visible: true
+ abbrev:
+ caseSensitive: true
+ dataType: 12
+ generated: false
+ name: abbrev
+ primaryKey: false
+ unsigned: false
+ visible: true
+ utc_offset:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: utc_offset
+ primaryKey: false
+ unsigned: false
+ visible: true
+ is_dst:
+ caseSensitive: true
+ dataType: -7
+ generated: false
+ name: is_dst
+ primaryKey: false
+ unsigned: false
+ visible: true
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_transform.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_transform.yaml
new file mode 100644
index 00000000000..b6e56f05a0c
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_transform.yaml
@@ -0,0 +1,64 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: pg_transform
+columns:
+ oid:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: oid
+ primaryKey: true
+ unsigned: false
+ visible: true
+ trftype:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: trftype
+ primaryKey: false
+ unsigned: false
+ visible: true
+ trflang:
+ caseSensitive: true
+ dataType: -5
+ generated: false
+ name: trflang
+ primaryKey: false
+ unsigned: false
+ visible: true
+ trffromsql:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: trffromsql
+ primaryKey: false
+ unsigned: false
+ visible: true
+ trftosql:
+ caseSensitive: true
+ dataType: 1111
+ generated: false
+ name: trftosql
+ primaryKey: false
+ unsigned: false
+ visible: true
+indexes:
+ pg_transform_type_lang_index:
+ name: pg_transform_type_lang_index
+ pg_transform_oid_index:
+ name: pg_transform_oid_index
diff --git a/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_ts_config.yaml b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_ts_config.yaml
new file mode 100644
index 00000000000..e691518ff61
--- /dev/null
+++ b/infra/common/src/main/resources/schema/postgresql/pg_catalog/pg_ts_config.yaml
@@ -0,0 +1,64 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
... 5278 lines suppressed ...