Skip to content

Upgrade GitLab CE to 18.9.0#3218

Open
sachilles wants to merge 2 commits intosameersbn:masterfrom
sachilles:upgrade-to-18.9.0
Open

Upgrade GitLab CE to 18.9.0#3218
sachilles wants to merge 2 commits intosameersbn:masterfrom
sachilles:upgrade-to-18.9.0

Conversation

@sachilles
Copy link
Collaborator

GitLab 18.9 Release (for more details see https://about.gitlab.com/releases/2026/02/19/gitlab-18-9-released/)

@sachilles
Copy link
Collaborator Author

sachilles commented Feb 22, 2026

  • CI fails in stage 'test'
  • after starting GitLab the connection will be refused
*   Trying 127.0.0.1:80...
* connect to 127.0.0.1 port 80 from 127.0.0.1 port 50326 failed: Connection refused
* Failed to connect to localhost port 80 after 2 ms: Could not connect to server
* closing connection #4
  • the underlying problem seems to be related to the database (error is UndefinedTable)
gitlab-1      | 2026-02-22 13:53:30,473 WARN exited: sidekiq (exit status 1; not expected)
gitlab-1      | 2026-02-22 13:53:30,496 INFO spawned: 'sidekiq' with pid 934
gitlab-1      | 2026-02-22 13:53:30,500 WARN exited: puma (exit status 1; not expected)
gitlab-1      | 2026-02-22 13:53:30,511 INFO spawned: 'puma' with pid 935
gitlab-1      | 2026-02-22 13:53:31,513 INFO success: puma entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
gitlab-1      | 2026-02-22 13:53:31,515 INFO success: sidekiq entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
gitlab-1      | rake aborted!
gitlab-1      | ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR:  relation "feature_gates" does not exist
gitlab-1      | LINE 10:  WHERE a.attrelid = '"feature_gates"'::regclass
gitlab-1      |                              ^
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:1024:in `block in with_raw_connection'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activesupport-7.2.3/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:993:in `with_raw_connection'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activesupport-7.2.3/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:1141:in `log'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:1083:in `column_definitions'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:109:in `columns'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/schema_cache.rb:345:in `block (2 levels) in columns'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:425:in `with_connection'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/schema_cache.rb:344:in `block in columns'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/schema_cache.rb:343:in `fetch'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/schema_cache.rb:343:in `columns'
gitlab-1      | /home/git/gitlab/lib/gitlab/database/schema_cache_with_renamed_table.rb:26:in `columns'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/schema_cache.rb:354:in `block in columns_hash'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/schema_cache.rb:353:in `fetch'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/schema_cache.rb:353:in `columns_hash'
gitlab-1      | /home/git/gitlab/lib/gitlab/database/schema_cache_with_renamed_table.rb:30:in `columns_hash'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/schema_cache.rb:54:in `columns_hash'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/schema_cache.rb:198:in `columns_hash'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/model_schema.rb:593:in `load_schema!'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/counter_cache.rb:187:in `load_schema!'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/encryption/encryptable_record.rb:127:in `load_schema!'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/model_schema.rb:540:in `block in load_schema'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/model_schema.rb:537:in `synchronize'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/model_schema.rb:537:in `load_schema'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/model_schema.rb:429:in `columns_hash'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/attributes.rb:255:in `block in _default_attributes'
gitlab-1      | /home/git/gitlab/lib/gitlab/database/load_balancing/setup.rb:57:in `block in setup_connection_proxy'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/attributes.rb:254:in `_default_attributes'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activemodel-7.2.3/lib/active_model/attribute_registration.rb:38:in `attribute_types'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activemodel-7.2.3/lib/active_model/attribute_registration.rb:49:in `type_for_attribute'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/type_caster/map.rb:16:in `type_for_attribute'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/arel/table.rb:111:in `type_for_attribute'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/table_metadata.rb:18:in `type'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/relation/predicate_builder.rb:59:in `build'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/relation/predicate_builder.rb:54:in `[]'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/relation/predicate_builder.rb:132:in `block in expand_from_hash'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/relation/predicate_builder.rb:79:in `each'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/relation/predicate_builder.rb:79:in `flat_map'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/relation/predicate_builder.rb:79:in `expand_from_hash'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/relation/predicate_builder.rb:25:in `build_from_hash'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/relation/query_methods.rb:1623:in `build_where_clause'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/relation/query_methods.rb:1024:in `where!'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/relation/query_methods.rb:1019:in `where'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/querying.rb:24:in `where'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-active_record-1.3.6/lib/flipper/adapters/active_record.rb:110:in `block in get'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activerecord-7.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:425:in `with_connection'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-active_record-1.3.6/lib/flipper/adapters/active_record.rb:299:in `with_connection'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-active_record-1.3.6/lib/flipper/adapters/active_record.rb:110:in `get'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-1.3.6/lib/flipper/adapters/cache_base.rb:117:in `block in read_feature'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activesupport-7.2.3/lib/active_support/cache.rb:1052:in `block in save_block_result_to_cache'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activesupport-7.2.3/lib/active_support/cache.rb:1023:in `block in _instrument'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activesupport-7.2.3/lib/active_support/notifications.rb:212:in `instrument'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activesupport-7.2.3/lib/active_support/cache.rb:1022:in `_instrument'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activesupport-7.2.3/lib/active_support/cache.rb:999:in `instrument'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activesupport-7.2.3/lib/active_support/cache.rb:1051:in `save_block_result_to_cache'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activesupport-7.2.3/lib/active_support/cache.rb:474:in `fetch'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-active_support_cache_store-1.3.6/lib/flipper/adapters/active_support_cache_store.rb:63:in `cache_fetch'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-1.3.6/lib/flipper/adapters/cache_base.rb:117:in `read_feature'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-1.3.6/lib/flipper/adapters/cache_base.rb:73:in `get'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-1.3.6/lib/flipper/adapters/cache_base.rb:117:in `block in read_feature'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activesupport-7.2.3/lib/active_support/cache.rb:1052:in `block in save_block_result_to_cache'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activesupport-7.2.3/lib/active_support/cache.rb:1023:in `block in _instrument'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activesupport-7.2.3/lib/active_support/notifications.rb:212:in `instrument'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activesupport-7.2.3/lib/active_support/cache.rb:1022:in `_instrument'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activesupport-7.2.3/lib/active_support/cache.rb:999:in `instrument'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activesupport-7.2.3/lib/active_support/cache.rb:1051:in `save_block_result_to_cache'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/activesupport-7.2.3/lib/active_support/cache.rb:474:in `fetch'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-active_support_cache_store-1.3.6/lib/flipper/adapters/active_support_cache_store.rb:63:in `cache_fetch'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-1.3.6/lib/flipper/adapters/cache_base.rb:117:in `read_feature'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-1.3.6/lib/flipper/adapters/cache_base.rb:73:in `get'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-1.3.6/lib/flipper/adapters/memoizable.rb:58:in `get'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-1.3.6/lib/flipper/feature.rb:286:in `gate_values'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-1.3.6/lib/flipper/feature.rb:117:in `block in enabled?'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-1.3.6/lib/flipper/feature.rb:443:in `block in instrument'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-1.3.6/lib/flipper/instrumenters/noop.rb:5:in `instrument'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-1.3.6/lib/flipper/feature.rb:440:in `instrument'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/flipper-1.3.6/lib/flipper/feature.rb:114:in `enabled?'
gitlab-1      | /home/git/gitlab/lib/feature.rb:337:in `block in current_feature_value'
gitlab-1      | /home/git/gitlab/lib/feature.rb:352:in `with_feature'
gitlab-1      | /home/git/gitlab/lib/feature.rb:333:in `current_feature_value'
gitlab-1      | /home/git/gitlab/lib/feature.rb:134:in `enabled?'
gitlab-1      | /home/git/gitlab/lib/gitlab/gitaly_client/circuit_breaker.rb:42:in `enabled?'
gitlab-1      | /home/git/gitlab/lib/gitlab/gitaly_client/circuit_breaker.rb:13:in `call'
gitlab-1      | /home/git/gitlab/lib/gitlab/gitaly_client/call.rb:58:in `rescue in call'
gitlab-1      | /home/git/gitlab/lib/gitlab/gitaly_client/call.rb:17:in `call'
gitlab-1      | /home/git/gitlab/lib/gitlab/gitaly_client.rb:347:in `call'
gitlab-1      | /home/git/gitlab/lib/gitlab/gitaly_client/server_service.rb:14:in `info'
gitlab-1      | /home/git/gitlab/lib/tasks/gitlab/setup.rake:12:in `block in check_gitaly_connection'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/forwardable-1.3.3/lib/forwardable.rb:240:in `each'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/forwardable-1.3.3/lib/forwardable.rb:240:in `each'
gitlab-1      | /home/git/gitlab/lib/tasks/gitlab/setup.rake:11:in `check_gitaly_connection'
gitlab-1      | /home/git/gitlab/lib/tasks/gitlab/setup.rake:6:in `block (2 levels) in <top (required)>'
gitlab-1      | /home/git/gitlab/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
gitlab-1      | /usr/local/bin/bundle:25:in `<main>'
gitlab-1      | 
gitlab-1      | Caused by:
gitlab-1      | PG::UndefinedTable: ERROR:  relation "feature_gates" does not exist
gitlab-1      | LINE 10:  WHERE a.attrelid = '"feature_gates"'::regclass

@sachilles
Copy link
Collaborator Author

Issue could be related to dependency to package meson neccessary to be installed after build (and no removal as build dependency).

@sachilles
Copy link
Collaborator Author

It seems that doesn't matter if the meson remains installed after install.sh or not.

@kkimurak
Copy link
Contributor

kkimurak commented Feb 24, 2026

Reproduced on my env. In addition, upgrade from previous version launches with no such error (tested with 18.8.4 -> 18.9.0 local build).
There seems to be something wrong on first-run step (bundle exec rake gitlab:setup).

Reports of similar errors have been traced to the database being accessed before it was fully initialized or lacks migration.

As far as I checked, the database is mostly empty (none of the tables or anything else derived from gitalb were created) after the gitlab container exits.

running 18.8.4. The result is 1050 rows.

psql -> \dt * on postgresql for 18.8.4 restored from production env
$ docker exec -it -u postgres postgre-for-gitlab psql
psql (17.8 (Ubuntu 17.8-1.pgdg24.04+1))
Type "help" for help.

postgres=# \c gitlabhq_production
You are now connected to database "gitlabhq_production" as user "postgres".
gitlabhq_production=# \dt *
                                           List of relations
   Schema   |                           Name                            |       Type        |  Owner
------------+-----------------------------------------------------------+-------------------+----------
 pg_catalog | pg_aggregate                                              | table             | postgres
 pg_catalog | pg_am                                                     | table             | postgres
 pg_catalog | pg_amop                                                   | table             | postgres
 pg_catalog | pg_amproc                                                 | table             | postgres
 pg_catalog | pg_attrdef                                                | table             | postgres
 pg_catalog | pg_attribute                                              | table             | postgres
 pg_catalog | pg_auth_members                                           | table             | postgres
 pg_catalog | pg_authid                                                 | table             | postgres
 pg_catalog | pg_cast                                                   | table             | postgres
 pg_catalog | pg_class                                                  | table             | postgres
 pg_catalog | pg_collation                                              | table             | postgres
 pg_catalog | pg_constraint                                             | table             | postgres
 pg_catalog | pg_conversion                                             | table             | postgres
 pg_catalog | pg_database                                               | table             | postgres
 pg_catalog | pg_db_role_setting                                        | table             | postgres
 pg_catalog | pg_default_acl                                            | table             | postgres
 pg_catalog | pg_depend                                                 | table             | postgres
 pg_catalog | pg_description                                            | table             | postgres
 pg_catalog | pg_enum                                                   | table             | postgres
 pg_catalog | pg_event_trigger                                          | table             | postgres
 pg_catalog | pg_extension                                              | table             | postgres
 pg_catalog | pg_foreign_data_wrapper                                   | table             | postgres
 pg_catalog | pg_foreign_server                                         | table             | postgres
 pg_catalog | pg_foreign_table                                          | table             | postgres
 pg_catalog | pg_index                                                  | table             | postgres
 pg_catalog | pg_inherits                                               | table             | postgres
 pg_catalog | pg_init_privs                                             | table             | postgres
 pg_catalog | pg_language                                               | table             | postgres
 pg_catalog | pg_largeobject                                            | table             | postgres
 pg_catalog | pg_largeobject_metadata                                   | table             | postgres
 pg_catalog | pg_namespace                                              | table             | postgres
 pg_catalog | pg_opclass                                                | table             | postgres
 pg_catalog | pg_operator                                               | table             | postgres
 pg_catalog | pg_opfamily                                               | table             | postgres
 pg_catalog | pg_parameter_acl                                          | table             | postgres
 pg_catalog | pg_partitioned_table                                      | table             | postgres
 pg_catalog | pg_policy                                                 | table             | postgres
 pg_catalog | pg_proc                                                   | table             | postgres
 pg_catalog | pg_publication                                            | table             | postgres
 pg_catalog | pg_publication_namespace                                  | table             | postgres
 pg_catalog | pg_publication_rel                                        | table             | postgres
 pg_catalog | pg_range                                                  | table             | postgres
 pg_catalog | pg_replication_origin                                     | table             | postgres
 pg_catalog | pg_rewrite                                                | table             | postgres
 pg_catalog | pg_seclabel                                               | table             | postgres
 pg_catalog | pg_sequence                                               | table             | postgres
 pg_catalog | pg_shdepend                                               | table             | postgres
 pg_catalog | pg_shdescription                                          | table             | postgres
 pg_catalog | pg_shseclabel                                             | table             | postgres
 pg_catalog | pg_statistic                                              | table             | postgres
 pg_catalog | pg_statistic_ext                                          | table             | postgres
 pg_catalog | pg_statistic_ext_data                                     | table             | postgres
 pg_catalog | pg_subscription                                           | table             | postgres
 pg_catalog | pg_subscription_rel                                       | table             | postgres
 pg_catalog | pg_tablespace                                             | table             | postgres
 pg_catalog | pg_transform                                              | table             | postgres
 pg_catalog | pg_trigger                                                | table             | postgres
 pg_catalog | pg_ts_config                                              | table             | postgres
 pg_catalog | pg_ts_config_map                                          | table             | postgres
 pg_catalog | pg_ts_dict                                                | table             | postgres
 pg_catalog | pg_ts_parser                                              | table             | postgres
 pg_catalog | pg_ts_template                                            | table             | postgres
 pg_catalog | pg_type                                                   | table             | postgres
 pg_catalog | pg_user_mapping                                           | table             | postgres
 public     | abuse_events                                              | table             | gitlab
 public     | abuse_report_events                                       | table             | gitlab
 public     | abuse_report_uploads                                      | table             | gitlab
 public     | abuse_report_user_mentions                                | table             | gitlab
 public     | abuse_reports                                             | table             | gitlab
 public     | achievement_uploads                                       | table             | gitlab
 public     | achievements                                              | table             | gitlab
 public     | activation_metrics                                        | table             | gitlab
 public     | activity_pub_releases_subscriptions                       | table             | gitlab
 public     | admin_roles                                               | table             | gitlab
 public     | agent_activity_events                                     | table             | gitlab
 public     | agent_group_authorizations                                | table             | gitlab
 public     | agent_organization_authorizations                         | table             | gitlab
 public     | agent_project_authorizations                              | table             | gitlab
 public     | agent_user_access_group_authorizations                    | table             | gitlab
 public     | agent_user_access_project_authorizations                  | table             | gitlab
 public     | ai_active_context_collections                             | table             | gitlab
 public     | ai_active_context_connections                             | table             | gitlab
 public     | ai_active_context_migrations                              | table             | gitlab
 public     | ai_agent_version_attachments                              | table             | gitlab
 public     | ai_agent_versions                                         | table             | gitlab
 public     | ai_agents                                                 | table             | gitlab
 public     | ai_catalog_item_consumers                                 | table             | gitlab
 public     | ai_catalog_item_version_dependencies                      | table             | gitlab
 public     | ai_catalog_item_versions                                  | table             | gitlab
 public     | ai_catalog_items                                          | table             | gitlab
 public     | ai_code_suggestion_events                                 | partitioned table | gitlab
 public     | ai_conversation_messages                                  | table             | gitlab
 public     | ai_conversation_threads                                   | table             | gitlab
 public     | ai_duo_chat_events                                        | partitioned table | gitlab
 public     | ai_events_counts                                          | partitioned table | gitlab
 public     | ai_feature_settings                                       | table             | gitlab
 public     | ai_flow_triggers                                          | table             | gitlab
 public     | ai_instance_accessible_entity_rules                       | table             | gitlab
 public     | ai_namespace_feature_access_rules                         | table             | gitlab
 public     | ai_namespace_feature_settings                             | table             | gitlab
 public     | ai_self_hosted_models                                     | table             | gitlab
 public     | ai_settings                                               | table             | gitlab
 public     | ai_testing_terms_acceptances                              | table             | gitlab
 public     | ai_troubleshoot_job_events                                | partitioned table | gitlab
 public     | ai_usage_events                                           | partitioned table | gitlab
 public     | ai_user_metrics                                           | table             | gitlab
 public     | ai_vectorizable_file_uploads                              | table             | gitlab
 public     | ai_vectorizable_files                                     | table             | gitlab
 public     | alert_management_alert_assignees                          | table             | gitlab
 public     | alert_management_alert_metric_image_uploads               | table             | gitlab
 public     | alert_management_alert_metric_images                      | table             | gitlab
 public     | alert_management_alert_user_mentions                      | table             | gitlab
 public     | alert_management_alerts                                   | table             | gitlab
 public     | alert_management_http_integrations                        | table             | gitlab
 public     | allowed_email_domains                                     | table             | gitlab
 public     | analytics_cycle_analytics_aggregations                    | table             | gitlab
 public     | analytics_cycle_analytics_group_stages                    | table             | gitlab
 public     | analytics_cycle_analytics_group_value_streams             | table             | gitlab
 public     | analytics_cycle_analytics_issue_stage_events              | partitioned table | gitlab
 public     | analytics_cycle_analytics_merge_request_stage_events      | partitioned table | gitlab
 public     | analytics_cycle_analytics_stage_aggregations              | table             | gitlab
 public     | analytics_cycle_analytics_stage_event_hashes              | table             | gitlab
 public     | analytics_cycle_analytics_value_stream_settings           | table             | gitlab
 public     | analytics_dashboards_pointers                             | table             | gitlab
 public     | analytics_devops_adoption_segments                        | table             | gitlab
 public     | analytics_devops_adoption_snapshots                       | table             | gitlab
 public     | analytics_language_trend_repository_languages             | table             | gitlab
 public     | analytics_usage_trends_measurements                       | table             | gitlab
 public     | analyzer_namespace_statuses                               | table             | gitlab
 public     | analyzer_project_statuses                                 | table             | gitlab
 public     | appearance_uploads                                        | table             | gitlab
 public     | appearances                                               | table             | gitlab
 public     | application_setting_terms                                 | table             | gitlab
 public     | application_settings                                      | table             | gitlab
 public     | approval_group_rules                                      | table             | gitlab
 public     | approval_group_rules_groups                               | table             | gitlab
 public     | approval_group_rules_protected_branches                   | table             | gitlab
 public     | approval_group_rules_users                                | table             | gitlab
 public     | approval_merge_request_rule_sources                       | table             | gitlab
 public     | approval_merge_request_rules                              | table             | gitlab
 public     | approval_merge_request_rules_approved_approvers           | table             | gitlab
 public     | approval_merge_request_rules_groups                       | table             | gitlab
 public     | approval_merge_request_rules_users                        | table             | gitlab
 public     | approval_policy_merge_request_bypass_events               | table             | gitlab
 public     | approval_policy_rule_project_links                        | table             | gitlab
 public     | approval_policy_rules                                     | table             | gitlab
 public     | approval_project_rules                                    | table             | gitlab
 public     | approval_project_rules_groups                             | table             | gitlab
 public     | approval_project_rules_protected_branches                 | table             | gitlab
 public     | approval_project_rules_users                              | table             | gitlab
 public     | approvals                                                 | table             | gitlab
 public     | ar_internal_metadata                                      | table             | gitlab
 public     | arkose_sessions                                           | table             | gitlab
 public     | atlassian_identities                                      | table             | gitlab
 public     | audit_events                                              | partitioned table | gitlab
 public     | audit_events_amazon_s3_configurations                     | table             | gitlab
 public     | audit_events_external_audit_event_destinations            | table             | gitlab
 public     | audit_events_google_cloud_logging_configurations          | table             | gitlab
 public     | audit_events_group_external_streaming_destinations        | table             | gitlab
 public     | audit_events_group_streaming_event_type_filters           | table             | gitlab
 public     | audit_events_instance_amazon_s3_configurations            | table             | gitlab
 public     | audit_events_instance_external_audit_event_destinations   | table             | gitlab
 public     | audit_events_instance_external_streaming_destinations     | table             | gitlab
 public     | audit_events_instance_google_cloud_logging_configurations | table             | gitlab
 public     | audit_events_instance_streaming_event_type_filters        | table             | gitlab
 public     | audit_events_streaming_event_type_filters                 | table             | gitlab
 public     | audit_events_streaming_group_namespace_filters            | table             | gitlab
 public     | audit_events_streaming_headers                            | table             | gitlab
 public     | audit_events_streaming_http_group_namespace_filters       | table             | gitlab
 public     | audit_events_streaming_http_instance_namespace_filters    | table             | gitlab
 public     | audit_events_streaming_instance_event_type_filters        | table             | gitlab
 public     | audit_events_streaming_instance_namespace_filters         | table             | gitlab
 public     | authentication_events                                     | table             | gitlab
 public     | automation_rules                                          | table             | gitlab
 public     | award_emoji                                               | table             | gitlab
 public     | award_emoji_archived                                      | table             | gitlab
 public     | aws_roles                                                 | table             | gitlab
 public     | background_operation_jobs                                 | partitioned table | gitlab
 public     | background_operation_jobs_cell_local                      | partitioned table | gitlab
 public     | background_operation_workers                              | partitioned table | gitlab
 public     | background_operation_workers_cell_local                   | partitioned table | gitlab
 public     | backup_finding_evidences                                  | partitioned table | gitlab
 public     | backup_finding_flags                                      | partitioned table | gitlab
 public     | backup_finding_identifiers                                | partitioned table | gitlab
 public     | backup_finding_links                                      | partitioned table | gitlab
 public     | backup_finding_remediations                               | partitioned table | gitlab
 public     | backup_finding_signatures                                 | partitioned table | gitlab
 public     | backup_findings                                           | partitioned table | gitlab
 public     | backup_vulnerabilities                                    | partitioned table | gitlab
 public     | backup_vulnerability_external_issue_links                 | partitioned table | gitlab
 public     | backup_vulnerability_issue_links                          | partitioned table | gitlab
 public     | backup_vulnerability_merge_request_links                  | partitioned table | gitlab
 public     | backup_vulnerability_reads                                | partitioned table | gitlab
 public     | backup_vulnerability_severity_overrides                   | partitioned table | gitlab
 public     | backup_vulnerability_state_transitions                    | partitioned table | gitlab
 public     | backup_vulnerability_user_mentions                        | partitioned table | gitlab
 public     | badges                                                    | table             | gitlab
 public     | banned_users                                              | table             | gitlab
 public     | batched_background_migration_job_transition_logs          | partitioned table | gitlab
 public     | batched_background_migration_jobs                         | table             | gitlab
 public     | batched_background_migrations                             | table             | gitlab
 public     | board_assignees                                           | table             | gitlab
 public     | board_group_recent_visits                                 | table             | gitlab
 public     | board_labels                                              | table             | gitlab
 public     | board_project_recent_visits                               | table             | gitlab
 public     | board_user_preferences                                    | table             | gitlab
 public     | boards                                                    | table             | gitlab
 public     | boards_epic_board_labels                                  | table             | gitlab
 public     | boards_epic_board_positions                               | table             | gitlab
 public     | boards_epic_board_recent_visits                           | table             | gitlab
 public     | boards_epic_boards                                        | table             | gitlab
 public     | boards_epic_list_user_preferences                         | table             | gitlab
 public     | boards_epic_lists                                         | table             | gitlab
 public     | boards_epic_user_preferences                              | table             | gitlab
 public     | broadcast_messages                                        | table             | gitlab
 public     | bulk_import_batch_trackers                                | table             | gitlab
 public     | bulk_import_configurations                                | table             | gitlab
 public     | bulk_import_entities                                      | table             | gitlab
 public     | bulk_import_export_batches                                | table             | gitlab
 public     | bulk_import_export_upload_uploads                         | table             | gitlab
 public     | bulk_import_export_uploads                                | table             | gitlab
 public     | bulk_import_exports                                       | table             | gitlab
 public     | bulk_import_failures                                      | table             | gitlab
 public     | bulk_import_trackers                                      | table             | gitlab
 public     | bulk_imports                                              | table             | gitlab
 public     | catalog_resource_component_last_usages                    | table             | gitlab
 public     | catalog_resource_components                               | table             | gitlab
 public     | catalog_resource_versions                                 | table             | gitlab
 public     | catalog_resources                                         | table             | gitlab
 public     | catalog_verified_namespaces                               | table             | gitlab
 public     | cells_outstanding_leases                                  | table             | gitlab
 public     | chat_names                                                | table             | gitlab
 public     | chat_teams                                                | table             | gitlab
 public     | ci_build_needs                                            | table             | gitlab
 public     | ci_build_pending_states                                   | table             | gitlab
 public     | ci_build_report_results                                   | table             | gitlab
 public     | ci_build_trace_chunks                                     | table             | gitlab
 public     | ci_builds_runner_session                                  | table             | gitlab
 public     | ci_cost_settings                                          | table             | gitlab
 public     | ci_daily_build_group_report_results                       | table             | gitlab
 public     | ci_deleted_objects                                        | table             | gitlab
 public     | ci_freeze_periods                                         | table             | gitlab
 public     | ci_gitlab_hosted_runner_monthly_usages                    | table             | gitlab
 public     | ci_group_variables                                        | table             | gitlab
 public     | ci_hosted_runners                                         | table             | gitlab
 public     | ci_instance_runner_monthly_usages                         | table             | gitlab
 public     | ci_instance_variables                                     | table             | gitlab
 public     | ci_job_artifact_states                                    | table             | gitlab
 public     | ci_job_token_authorizations                               | table             | gitlab
 public     | ci_job_token_group_scope_links                            | table             | gitlab
 public     | ci_job_token_project_scope_links                          | table             | gitlab
 public     | ci_job_variables                                          | table             | gitlab
 public     | ci_minutes_additional_packs                               | table             | gitlab
 public     | ci_namespace_mirrors                                      | table             | gitlab
 public     | ci_namespace_monthly_usages                               | table             | gitlab
 public     | ci_partitions                                             | table             | gitlab
 public     | ci_pending_builds                                         | table             | gitlab
 public     | ci_pipeline_artifacts                                     | table             | gitlab
 public     | ci_pipeline_chat_data                                     | table             | gitlab
 public     | ci_pipeline_messages                                      | table             | gitlab
 public     | ci_pipeline_metadata                                      | table             | gitlab
 public     | ci_pipeline_schedule_inputs                               | table             | gitlab
 public     | ci_pipeline_schedule_variables                            | table             | gitlab
 public     | ci_pipeline_schedules                                     | table             | gitlab
 public     | ci_project_mirrors                                        | table             | gitlab
 public     | ci_project_monthly_usages                                 | table             | gitlab
 public     | ci_refs                                                   | table             | gitlab
 public     | ci_resource_groups                                        | table             | gitlab
 public     | ci_resources                                              | table             | gitlab
 public     | ci_runner_controller_tokens                               | table             | gitlab
 public     | ci_runner_controllers                                     | table             | gitlab
 public     | ci_runner_machines                                        | partitioned table | gitlab
 public     | ci_runner_namespaces                                      | table             | gitlab
 public     | ci_runner_projects                                        | table             | gitlab
 public     | ci_runner_taggings                                        | partitioned table | gitlab
 public     | ci_runner_taggings_group_type                             | table             | gitlab
 public     | ci_runner_taggings_instance_type                          | table             | gitlab
 public     | ci_runner_taggings_project_type                           | table             | gitlab
 public     | ci_runner_versions                                        | table             | gitlab
 public     | ci_runners                                                | partitioned table | gitlab
 public     | ci_running_builds                                         | table             | gitlab
 public     | ci_secure_file_states                                     | table             | gitlab
 public     | ci_secure_files                                           | table             | gitlab
 public     | ci_sources_pipelines                                      | table             | gitlab
 public     | ci_sources_projects                                       | table             | gitlab
 public     | ci_subscriptions_projects                                 | table             | gitlab
 public     | ci_triggers                                               | table             | gitlab
 public     | ci_unit_test_failures                                     | table             | gitlab
 public     | ci_unit_tests                                             | table             | gitlab
 public     | ci_variables                                              | table             | gitlab
 public     | cloud_connector_access                                    | table             | gitlab
 public     | cloud_connector_keys                                      | table             | gitlab
 public     | cluster_agent_migrations                                  | table             | gitlab
 public     | cluster_agent_tokens                                      | table             | gitlab
 public     | cluster_agent_url_configurations                          | table             | gitlab
 public     | cluster_agents                                            | table             | gitlab
 public     | cluster_enabled_grants                                    | table             | gitlab
 public     | cluster_groups                                            | table             | gitlab
 public     | cluster_platforms_kubernetes                              | table             | gitlab
 public     | cluster_projects                                          | table             | gitlab
 public     | cluster_providers_aws                                     | table             | gitlab
 public     | cluster_providers_gcp                                     | table             | gitlab
 public     | clusters                                                  | table             | gitlab
 public     | clusters_kubernetes_namespaces                            | table             | gitlab
 public     | clusters_managed_resources                                | table             | gitlab
 public     | commit_user_mentions                                      | table             | gitlab
 public     | compliance_framework_security_policies                    | table             | gitlab
 public     | compliance_management_frameworks                          | table             | gitlab
 public     | compliance_requirements                                   | table             | gitlab
 public     | compliance_requirements_controls                          | table             | gitlab
 public     | compromised_password_detections                           | table             | gitlab
 public     | container_expiration_policies                             | table             | gitlab
 public     | container_registry_data_repair_details                    | table             | gitlab
 public     | container_registry_protection_rules                       | table             | gitlab
 public     | container_registry_protection_tag_rules                   | table             | gitlab
 public     | container_repositories                                    | table             | gitlab
 public     | container_repository_states                               | table             | gitlab
 public     | content_blocked_states                                    | table             | gitlab
 public     | conversational_development_index_metrics                  | table             | gitlab
 public     | country_access_logs                                       | table             | gitlab
 public     | coverage_fuzzing_corpuses                                 | table             | gitlab
 public     | csv_issue_imports                                         | table             | gitlab
 public     | custom_dashboard_search_data                              | table             | gitlab
 public     | custom_dashboard_versions                                 | table             | gitlab
 public     | custom_dashboards                                         | table             | gitlab
 public     | custom_emoji                                              | table             | gitlab
 public     | custom_field_select_options                               | table             | gitlab
 public     | custom_fields                                             | table             | gitlab
 public     | custom_software_licenses                                  | table             | gitlab
 public     | customer_relations_contacts                               | table             | gitlab
 public     | customer_relations_organizations                          | table             | gitlab
 public     | dast_pre_scan_verification_steps                          | table             | gitlab
 public     | dast_pre_scan_verifications                               | table             | gitlab
 public     | dast_profile_schedules                                    | table             | gitlab
 public     | dast_profiles                                             | table             | gitlab
 public     | dast_profiles_pipelines                                   | table             | gitlab
 public     | dast_profiles_tags                                        | table             | gitlab
 public     | dast_scanner_profiles                                     | table             | gitlab
 public     | dast_scanner_profiles_builds                              | table             | gitlab
 public     | dast_site_profile_secret_variables                        | table             | gitlab
 public     | dast_site_profiles                                        | table             | gitlab
 public     | dast_site_profiles_builds                                 | table             | gitlab
 public     | dast_site_tokens                                          | table             | gitlab
 public     | dast_site_validations                                     | table             | gitlab
 public     | dast_sites                                                | table             | gitlab
 public     | dependency_list_export_part_uploads                       | table             | gitlab
 public     | dependency_list_export_parts                              | table             | gitlab
 public     | dependency_list_export_uploads                            | table             | gitlab
 public     | dependency_list_exports                                   | table             | gitlab
 public     | dependency_proxy_blob_states                              | table             | gitlab
 public     | dependency_proxy_blobs                                    | table             | gitlab
 public     | dependency_proxy_group_settings                           | table             | gitlab
 public     | dependency_proxy_image_ttl_group_policies                 | table             | gitlab
 public     | dependency_proxy_manifest_states                          | table             | gitlab
 public     | dependency_proxy_manifests                                | table             | gitlab
 public     | dependency_proxy_packages_settings                        | table             | gitlab
 public     | deploy_keys_projects                                      | table             | gitlab
 public     | deploy_tokens                                             | table             | gitlab
 public     | deployment_approvals                                      | table             | gitlab
 public     | deployment_clusters                                       | table             | gitlab
 public     | deployment_merge_requests                                 | table             | gitlab
 public     | deployments                                               | table             | gitlab
 public     | description_versions                                      | table             | gitlab
 public     | design_management_action_uploads                          | table             | gitlab
 public     | design_management_designs                                 | table             | gitlab
 public     | design_management_designs_versions                        | table             | gitlab
 public     | design_management_repositories                            | table             | gitlab
 public     | design_management_repository_states                       | table             | gitlab
 public     | design_management_versions                                | table             | gitlab
 public     | design_user_mentions                                      | table             | gitlab
 public     | designated_beneficiaries                                  | table             | gitlab
 public     | detached_partitions                                       | table             | gitlab
 public     | diff_note_positions                                       | table             | gitlab
 public     | dingtalk_tracker_data                                     | table             | gitlab
 public     | dora_configurations                                       | table             | gitlab
 public     | dora_daily_metrics                                        | table             | gitlab
 public     | dora_performance_scores                                   | table             | gitlab
 public     | draft_notes                                               | table             | gitlab
 public     | duo_workflows_checkpoint_writes                           | table             | gitlab
 public     | duo_workflows_events                                      | table             | gitlab
 public     | duo_workflows_workflows                                   | table             | gitlab
 public     | duo_workflows_workloads                                   | table             | gitlab
 public     | early_access_program_tracking_events                      | table             | gitlab
 public     | elastic_group_index_statuses                              | table             | gitlab
 public     | elastic_index_settings                                    | table             | gitlab
 public     | elastic_reindexing_slices                                 | table             | gitlab
 public     | elastic_reindexing_subtasks                               | table             | gitlab
 public     | elastic_reindexing_tasks                                  | table             | gitlab
 public     | elasticsearch_indexed_namespaces                          | table             | gitlab
 public     | elasticsearch_indexed_projects                            | table             | gitlab
 public     | emails                                                    | table             | gitlab
 public     | enabled_foundational_flows                                | table             | gitlab
 public     | environments                                              | table             | gitlab
 public     | epic_issues                                               | table             | gitlab
 public     | epic_user_mentions                                        | table             | gitlab
 public     | epics                                                     | table             | gitlab
 public     | error_tracking_client_keys                                | table             | gitlab
 public     | error_tracking_error_events                               | table             | gitlab
 public     | error_tracking_errors                                     | table             | gitlab
 public     | events                                                    | table             | gitlab
 public     | evidences                                                 | table             | gitlab
 public     | excluded_merge_requests                                   | table             | gitlab
 public     | external_approval_rules                                   | table             | gitlab
 public     | external_pull_requests                                    | table             | gitlab
 public     | external_status_checks                                    | table             | gitlab
 public     | external_status_checks_protected_branches                 | table             | gitlab
 public     | feature_gates                                             | table             | gitlab
 public     | features                                                  | table             | gitlab
 public     | fork_network_members                                      | table             | gitlab
 public     | fork_networks                                             | table             | gitlab
 public     | geo_cache_invalidation_events                             | table             | gitlab
 public     | geo_event_log                                             | table             | gitlab
 public     | geo_events                                                | table             | gitlab
 public     | geo_node_namespace_links                                  | table             | gitlab
 public     | geo_node_organization_links                               | table             | gitlab
 public     | geo_node_statuses                                         | table             | gitlab
 public     | geo_nodes                                                 | table             | gitlab
 public     | ghost_user_migrations                                     | table             | gitlab
 public     | gitlab_subscription_histories                             | table             | gitlab
 public     | gitlab_subscriptions                                      | table             | gitlab
 public     | gpg_key_subkeys                                           | table             | gitlab
 public     | gpg_keys                                                  | table             | gitlab
 public     | gpg_signatures                                            | table             | gitlab
 public     | grafana_integrations                                      | table             | gitlab
 public     | granular_scopes                                           | table             | gitlab
 public     | group_audit_events                                        | partitioned table | gitlab
 public     | group_crm_settings                                        | table             | gitlab
 public     | group_custom_attributes                                   | table             | gitlab
 public     | group_deletion_schedules                                  | table             | gitlab
 public     | group_deploy_tokens                                       | table             | gitlab
 public     | group_features                                            | table             | gitlab
 public     | group_group_links                                         | table             | gitlab
 public     | group_import_states                                       | table             | gitlab
 public     | group_merge_request_approval_settings                     | table             | gitlab
 public     | group_push_rules                                          | table             | gitlab
 public     | group_repository_storage_moves                            | table             | gitlab
 public     | group_saved_replies                                       | table             | gitlab
 public     | group_scim_auth_access_tokens                             | table             | gitlab
 public     | group_scim_identities                                     | table             | gitlab
 public     | group_secrets_managers                                    | table             | gitlab
 public     | group_security_exclusions                                 | table             | gitlab
 public     | group_ssh_certificates                                    | table             | gitlab
 public     | group_type_ci_runner_machines                             | table             | gitlab
 public     | group_type_ci_runners                                     | table             | gitlab
 public     | group_wiki_repositories                                   | table             | gitlab
 public     | group_wiki_repository_states                              | table             | gitlab
 public     | groups_visits                                             | partitioned table | gitlab
 public     | historical_data                                           | table             | gitlab
 public     | identities                                                | table             | gitlab
 public     | import_export_upload_uploads                              | table             | gitlab
 public     | import_export_uploads                                     | table             | gitlab
 public     | import_failures                                           | table             | gitlab
 public     | import_offline_configurations                             | table             | gitlab
 public     | import_offline_exports                                    | table             | gitlab
 public     | import_placeholder_memberships                            | table             | gitlab
 public     | import_placeholder_user_details                           | table             | gitlab
 public     | import_source_user_placeholder_references                 | table             | gitlab
 public     | import_source_users                                       | table             | gitlab
 public     | incident_management_escalation_policies                   | table             | gitlab
 public     | incident_management_escalation_rules                      | table             | gitlab
 public     | incident_management_issuable_escalation_statuses          | table             | gitlab
 public     | incident_management_oncall_participants                   | table             | gitlab
 public     | incident_management_oncall_rotations                      | table             | gitlab
 public     | incident_management_oncall_schedules                      | table             | gitlab
 public     | incident_management_oncall_shifts                         | table             | gitlab
 public     | incident_management_pending_alert_escalations             | partitioned table | gitlab
 public     | incident_management_pending_issue_escalations             | partitioned table | gitlab
 public     | incident_management_timeline_event_tag_links              | table             | gitlab
 public     | incident_management_timeline_event_tags                   | table             | gitlab
 public     | incident_management_timeline_events                       | table             | gitlab
 public     | index_statuses                                            | table             | gitlab
 public     | insights                                                  | table             | gitlab
 public     | instance_audit_events                                     | partitioned table | gitlab
 public     | instance_audit_events_streaming_headers                   | table             | gitlab
 public     | instance_model_selection_feature_settings                 | table             | gitlab
 public     | instance_type_ci_runner_machines                          | table             | gitlab
 public     | instance_type_ci_runners                                  | table             | gitlab
 public     | integrations                                              | table             | gitlab
 public     | internal_ids                                              | table             | gitlab
 public     | ip_restrictions                                           | table             | gitlab
 public     | issuable_metric_image_uploads                             | table             | gitlab
 public     | issuable_metric_images                                    | table             | gitlab
 public     | issuable_resource_links                                   | table             | gitlab
 public     | issuable_severities                                       | table             | gitlab
 public     | issuable_slas                                             | table             | gitlab
 public     | issue_assignees                                           | table             | gitlab
 public     | issue_assignment_events                                   | table             | gitlab
 public     | issue_customer_relations_contacts                         | table             | gitlab
 public     | issue_email_participants                                  | table             | gitlab
 public     | issue_emails                                              | table             | gitlab
 public     | issue_links                                               | table             | gitlab
 public     | issue_metrics                                             | table             | gitlab
 public     | issue_search_data                                         | partitioned table | gitlab
 public     | issue_tracker_data                                        | table             | gitlab
 public     | issue_user_mentions                                       | table             | gitlab
 public     | issues                                                    | table             | gitlab
 public     | iterations_cadences                                       | table             | gitlab
 public     | jira_connect_installations                                | table             | gitlab
 public     | jira_connect_subscriptions                                | table             | gitlab
 public     | jira_imports                                              | table             | gitlab
 public     | jira_tracker_data                                         | table             | gitlab
 public     | job_environments                                          | table             | gitlab
 public     | keys                                                      | table             | gitlab
 public     | knowledge_graph_enabled_namespaces                        | table             | gitlab
 public     | label_links                                               | table             | gitlab
 public     | label_priorities                                          | table             | gitlab
 public     | labels                                                    | table             | gitlab
 public     | ldap_admin_role_links                                     | table             | gitlab
 public     | ldap_group_links                                          | table             | gitlab
 public     | lfs_file_locks                                            | table             | gitlab
 public     | lfs_object_states                                         | table             | gitlab
 public     | lfs_objects                                               | table             | gitlab
 public     | lfs_objects_projects                                      | table             | gitlab
 public     | licenses                                                  | table             | gitlab
 public     | list_user_preferences                                     | table             | gitlab
 public     | lists                                                     | table             | gitlab
 public     | loose_foreign_keys_deleted_records                        | partitioned table | gitlab
 public     | member_approvals                                          | table             | gitlab
 public     | member_roles                                              | table             | gitlab
 public     | members                                                   | table             | gitlab
 public     | members_deletion_schedules                                | table             | gitlab
 public     | merge_request_approval_metrics                            | table             | gitlab
 public     | merge_request_assignees                                   | table             | gitlab
 public     | merge_request_assignment_events                           | table             | gitlab
 public     | merge_request_blocks                                      | table             | gitlab
 public     | merge_request_cleanup_schedules                           | table             | gitlab
 public     | merge_request_commits_metadata                            | partitioned table | gitlab
 public     | merge_request_context_commit_diff_files                   | table             | gitlab
 public     | merge_request_context_commits                             | table             | gitlab
 public     | merge_request_diff_commit_users                           | table             | gitlab
 public     | merge_request_diff_commits                                | table             | gitlab
 public     | merge_request_diff_details                                | table             | gitlab
 public     | merge_request_diff_files                                  | table             | gitlab
 public     | merge_request_diff_files_99208b8fac                       | partitioned table | gitlab
 public     | merge_request_diffs                                       | table             | gitlab
 public     | merge_request_merge_schedules                             | table             | gitlab
 public     | merge_request_metrics                                     | table             | gitlab
 public     | merge_request_predictions                                 | table             | gitlab
 public     | merge_request_requested_changes                           | table             | gitlab
 public     | merge_request_reviewers                                   | table             | gitlab
 public     | merge_request_user_mentions                               | table             | gitlab
 public     | merge_requests                                            | table             | gitlab
 public     | merge_requests_approval_rules                             | table             | gitlab
 public     | merge_requests_approval_rules_approver_groups             | table             | gitlab
 public     | merge_requests_approval_rules_approver_users              | table             | gitlab
 public     | merge_requests_approval_rules_groups                      | table             | gitlab
 public     | merge_requests_approval_rules_merge_requests              | table             | gitlab
 public     | merge_requests_approval_rules_projects                    | table             | gitlab
 public     | merge_requests_closing_issues                             | table             | gitlab
 public     | merge_requests_compliance_violations                      | table             | gitlab
 public     | merge_requests_merge_data                                 | partitioned table | gitlab
 public     | merge_trains                                              | table             | gitlab
 public     | milestone_releases                                        | table             | gitlab
 public     | milestones                                                | table             | gitlab
 public     | ml_candidate_metadata                                     | table             | gitlab
 public     | ml_candidate_metrics                                      | table             | gitlab
 public     | ml_candidate_params                                       | table             | gitlab
 public     | ml_candidates                                             | table             | gitlab
 public     | ml_experiment_metadata                                    | table             | gitlab
 public     | ml_experiments                                            | table             | gitlab
 public     | ml_model_metadata                                         | table             | gitlab
 public     | ml_model_version_metadata                                 | table             | gitlab
 public     | ml_model_versions                                         | table             | gitlab
 public     | ml_models                                                 | table             | gitlab
 public     | namespace_admin_notes                                     | table             | gitlab
 public     | namespace_aggregation_schedules                           | table             | gitlab
 public     | namespace_ai_settings                                     | table             | gitlab
 public     | namespace_bans                                            | table             | gitlab
 public     | namespace_ci_cd_settings                                  | table             | gitlab
 public     | namespace_cluster_agent_mappings                          | table             | gitlab
 public     | namespace_commit_emails                                   | table             | gitlab
 public     | namespace_descendants                                     | partitioned table | gitlab
 public     | namespace_details                                         | table             | gitlab
 public     | namespace_foundational_agent_statuses                     | table             | gitlab
 public     | namespace_import_users                                    | table             | gitlab
 public     | namespace_isolations                                      | table             | gitlab
 public     | namespace_ldap_settings                                   | table             | gitlab
 public     | namespace_limits                                          | table             | gitlab
 public     | namespace_package_settings                                | table             | gitlab
 public     | namespace_root_storage_statistics                         | table             | gitlab
 public     | namespace_settings                                        | table             | gitlab
 public     | namespace_statistics                                      | table             | gitlab
 public     | namespace_uploads                                         | table             | gitlab
 public     | namespaces                                                | table             | gitlab
 public     | namespaces_storage_limit_exclusions                       | table             | gitlab
 public     | namespaces_sync_events                                    | table             | gitlab
 public     | non_sql_service_pings                                     | table             | gitlab
 public     | note_diff_files                                           | table             | gitlab
 public     | note_metadata                                             | table             | gitlab
 public     | notes                                                     | table             | gitlab
 public     | notification_settings                                     | table             | gitlab
 public     | oauth_access_grants                                       | table             | gitlab
 public     | oauth_access_token_archived_records                       | table             | gitlab
 public     | oauth_access_tokens                                       | table             | gitlab
 public     | oauth_applications                                        | table             | gitlab
 public     | oauth_device_grants                                       | table             | gitlab
 public     | oauth_openid_requests                                     | table             | gitlab
 public     | observability_group_o11y_settings                         | table             | gitlab
 public     | observability_logs_issues_connections                     | table             | gitlab
 public     | observability_metrics_issues_connections                  | table             | gitlab
 public     | observability_traces_issues_connections                   | table             | gitlab
 public     | onboarding_progresses                                     | table             | gitlab
 public     | operations_feature_flags                                  | table             | gitlab
 public     | operations_feature_flags_clients                          | table             | gitlab
 public     | operations_feature_flags_issues                           | table             | gitlab
 public     | operations_scopes                                         | table             | gitlab
 public     | operations_strategies                                     | table             | gitlab
 public     | operations_strategies_user_lists                          | table             | gitlab
 public     | operations_user_lists                                     | table             | gitlab
 public     | organization_cluster_agent_mappings                       | table             | gitlab
 public     | organization_detail_uploads                               | table             | gitlab
 public     | organization_details                                      | table             | gitlab
 public     | organization_foundational_agent_statuses                  | table             | gitlab
 public     | organization_isolations                                   | table             | gitlab
 public     | organization_push_rules                                   | table             | gitlab
 public     | organization_settings                                     | table             | gitlab
 public     | organization_user_details                                 | table             | gitlab
 public     | organization_users                                        | table             | gitlab
 public     | organizations                                             | table             | gitlab
 public     | p_ai_active_context_code_enabled_namespaces               | partitioned table | gitlab
 public     | p_ai_active_context_code_repositories                     | partitioned table | gitlab
 public     | p_batched_git_ref_updates_deletions                       | partitioned table | gitlab
 public     | p_catalog_resource_sync_events                            | partitioned table | gitlab
 public     | p_ci_build_names                                          | partitioned table | gitlab
 public     | p_ci_build_sources                                        | partitioned table | gitlab
 public     | p_ci_build_tags                                           | partitioned table | gitlab
 public     | p_ci_build_trace_metadata                                 | partitioned table | gitlab
 public     | p_ci_builds                                               | partitioned table | gitlab
 public     | p_ci_builds_execution_configs                             | partitioned table | gitlab
 public     | p_ci_builds_metadata                                      | partitioned table | gitlab
 public     | p_ci_finished_build_ch_sync_events                        | partitioned table | gitlab
 public     | p_ci_finished_pipeline_ch_sync_events                     | partitioned table | gitlab
 public     | p_ci_job_annotations                                      | partitioned table | gitlab
 public     | p_ci_job_artifact_reports                                 | partitioned table | gitlab
 public     | p_ci_job_artifacts                                        | partitioned table | gitlab
 public     | p_ci_job_definition_instances                             | partitioned table | gitlab
 public     | p_ci_job_definitions                                      | partitioned table | gitlab
 public     | p_ci_job_inputs                                           | partitioned table | gitlab
 public     | p_ci_job_messages                                         | partitioned table | gitlab
 public     | p_ci_pipeline_artifact_states                             | partitioned table | gitlab
 public     | p_ci_pipeline_iids                                        | partitioned table | gitlab
 public     | p_ci_pipeline_variables                                   | partitioned table | gitlab
 public     | p_ci_pipelines                                            | partitioned table | gitlab
 public     | p_ci_runner_machine_builds                                | partitioned table | gitlab
 public     | p_ci_stages                                               | partitioned table | gitlab
 public     | p_ci_workload_variable_inclusions                         | partitioned table | gitlab
 public     | p_ci_workloads                                            | partitioned table | gitlab
 public     | p_duo_workflows_checkpoints                               | partitioned table | gitlab
 public     | p_generated_ref_commits                                   | partitioned table | gitlab
 public     | p_sent_notifications                                      | partitioned table | gitlab
 public     | packages_build_infos                                      | table             | gitlab
 public     | packages_cargo_metadata                                   | table             | gitlab
 public     | packages_cleanup_policies                                 | table             | gitlab
 public     | packages_composer_metadata                                | table             | gitlab
 public     | packages_composer_packages                                | table             | gitlab
 public     | packages_conan_file_metadata                              | table             | gitlab
 public     | packages_conan_metadata                                   | table             | gitlab
 public     | packages_conan_package_references                         | table             | gitlab
 public     | packages_conan_package_revisions                          | table             | gitlab
 public     | packages_conan_recipe_revisions                           | table             | gitlab
 public     | packages_debian_file_metadata                             | table             | gitlab
 public     | packages_debian_group_architectures                       | table             | gitlab
 public     | packages_debian_group_component_files                     | table             | gitlab
 public     | packages_debian_group_components                          | table             | gitlab
 public     | packages_debian_group_distribution_keys                   | table             | gitlab
 public     | packages_debian_group_distributions                       | table             | gitlab
 public     | packages_debian_project_architectures                     | table             | gitlab
 public     | packages_debian_project_component_files                   | table             | gitlab
 public     | packages_debian_project_components                        | table             | gitlab
 public     | packages_debian_project_distribution_keys                 | table             | gitlab
 public     | packages_debian_project_distributions                     | table             | gitlab
 public     | packages_debian_publications                              | table             | gitlab
 public     | packages_dependencies                                     | table             | gitlab
 public     | packages_dependency_links                                 | table             | gitlab
 public     | packages_helm_file_metadata                               | table             | gitlab
 public     | packages_helm_metadata_caches                             | table             | gitlab
 public     | packages_maven_metadata                                   | table             | gitlab
 public     | packages_npm_metadata                                     | table             | gitlab
 public     | packages_npm_metadata_caches                              | table             | gitlab
 public     | packages_nuget_dependency_link_metadata                   | table             | gitlab
 public     | packages_nuget_metadata                                   | table             | gitlab
 public     | packages_nuget_symbol_states                              | table             | gitlab
 public     | packages_nuget_symbols                                    | table             | gitlab
 public     | packages_package_file_build_infos                         | table             | gitlab
 public     | packages_package_file_states                              | table             | gitlab
 public     | packages_package_files                                    | table             | gitlab
 public     | packages_packages                                         | table             | gitlab
 public     | packages_protection_rules                                 | table             | gitlab
 public     | packages_pypi_file_metadata                               | table             | gitlab
 public     | packages_pypi_metadata                                    | table             | gitlab
 public     | packages_rpm_metadata                                     | table             | gitlab
 public     | packages_rpm_repository_files                             | table             | gitlab
 public     | packages_rubygems_metadata                                | table             | gitlab
 public     | packages_tags                                             | table             | gitlab
 public     | packages_terraform_module_metadata                        | table             | gitlab
 public     | pages_deployment_states                                   | table             | gitlab
 public     | pages_deployments                                         | table             | gitlab
 public     | pages_domain_acme_orders                                  | table             | gitlab
 public     | pages_domains                                             | table             | gitlab
 public     | path_locks                                                | table             | gitlab
 public     | personal_access_token_granular_scopes                     | table             | gitlab
 public     | personal_access_token_last_used_ips                       | table             | gitlab
 public     | personal_access_tokens                                    | table             | gitlab
 public     | pipl_users                                                | table             | gitlab
 public     | plan_limits                                               | table             | gitlab
 public     | plans                                                     | table             | gitlab
 public     | pm_advisories                                             | table             | gitlab
 public     | pm_affected_packages                                      | table             | gitlab
 public     | pm_checkpoints                                            | table             | gitlab
 public     | pm_cve_enrichment                                         | table             | gitlab
 public     | pm_licenses                                               | table             | gitlab
 public     | pm_package_version_licenses                               | table             | gitlab
 public     | pm_package_versions                                       | table             | gitlab
 public     | pm_packages                                               | table             | gitlab
 public     | pool_repositories                                         | table             | gitlab
 public     | postgres_async_foreign_key_validations                    | table             | gitlab
 public     | postgres_async_indexes                                    | table             | gitlab
 public     | postgres_reindex_actions                                  | table             | gitlab
 public     | postgres_reindex_queued_actions                           | table             | gitlab
 public     | programming_languages                                     | table             | gitlab
 public     | project_access_tokens                                     | table             | gitlab
 public     | project_alerting_settings                                 | table             | gitlab
 public     | project_aliases                                           | table             | gitlab
 public     | project_audit_events                                      | partitioned table | gitlab
 public     | project_authorizations                                    | table             | gitlab
 public     | project_authorizations_for_migration                      | table             | gitlab
 public     | project_auto_devops                                       | table             | gitlab
 public     | project_build_artifacts_size_refreshes                    | table             | gitlab
 public     | project_ci_cd_settings                                    | table             | gitlab
 public     | project_ci_feature_usages                                 | table             | gitlab
 public     | project_compliance_framework_settings                     | table             | gitlab
 public     | project_compliance_standards_adherence                    | table             | gitlab
 public     | project_compliance_violations                             | table             | gitlab
 public     | project_compliance_violations_issues                      | table             | gitlab
 public     | project_control_compliance_statuses                       | table             | gitlab
 public     | project_custom_attributes                                 | table             | gitlab
 public     | project_daily_statistics                                  | partitioned table | gitlab
 public     | project_daily_statistics_archived                         | table             | gitlab
 public     | project_data_transfers                                    | table             | gitlab
 public     | project_deploy_tokens                                     | table             | gitlab
 public     | project_error_tracking_settings                           | table             | gitlab
 public     | project_export_jobs                                       | table             | gitlab
 public     | project_feature_usages                                    | table             | gitlab
 public     | project_features                                          | table             | gitlab
 public     | project_group_links                                       | table             | gitlab
 public     | project_import_data                                       | table             | gitlab
 public     | project_import_export_relation_export_upload_uploads      | table             | gitlab
 public     | project_incident_management_settings                      | table             | gitlab
 public     | project_metrics_settings                                  | table             | gitlab
 public     | project_mirror_data                                       | table             | gitlab
 public     | project_pages_metadata                                    | table             | gitlab
 public     | project_push_rules                                        | table             | gitlab
 public     | project_relation_export_uploads                           | table             | gitlab
 public     | project_relation_exports                                  | table             | gitlab
 public     | project_repositories                                      | table             | gitlab
 public     | project_repository_states                                 | table             | gitlab
 public     | project_repository_storage_moves                          | table             | gitlab
 public     | project_requirement_compliance_statuses                   | table             | gitlab
 public     | project_saved_replies                                     | table             | gitlab
 public     | project_secrets_managers                                  | table             | gitlab
 public     | project_security_exclusions                               | table             | gitlab
 public     | project_security_settings                                 | table             | gitlab
 public     | project_security_statistics                               | table             | gitlab
 public     | project_settings                                          | table             | gitlab
 public     | project_states                                            | table             | gitlab
 public     | project_statistics                                        | table             | gitlab
 public     | project_to_security_attributes                            | table             | gitlab
 public     | project_topic_uploads                                     | table             | gitlab
 public     | project_topics                                            | table             | gitlab
 public     | project_type_ci_runner_machines                           | table             | gitlab
 public     | project_type_ci_runners                                   | table             | gitlab
 public     | project_uploads                                           | table             | gitlab
 public     | project_wiki_repositories                                 | table             | gitlab
 public     | projects                                                  | table             | gitlab
 public     | projects_branch_rules_merge_request_approval_settings     | table             | gitlab
 public     | projects_branch_rules_squash_options                      | table             | gitlab
 public     | projects_sync_events                                      | table             | gitlab
 public     | projects_visits                                           | partitioned table | gitlab
 public     | projects_with_pipeline_variables                          | table             | gitlab
 public     | protected_branch_merge_access_levels                      | table             | gitlab
 public     | protected_branch_push_access_levels                       | table             | gitlab
 public     | protected_branch_unprotect_access_levels                  | table             | gitlab
 public     | protected_branches                                        | table             | gitlab
 public     | protected_environment_approval_rules                      | table             | gitlab
 public     | protected_environment_deploy_access_levels                | table             | gitlab
 public     | protected_environments                                    | table             | gitlab
 public     | protected_tag_create_access_levels                        | table             | gitlab
 public     | protected_tags                                            | table             | gitlab
 public     | push_event_payloads                                       | table             | gitlab
 public     | push_rules                                                | table             | gitlab
 public     | queries_service_pings                                     | table             | gitlab
 public     | raw_usage_data                                            | table             | gitlab
 public     | redirect_routes                                           | table             | gitlab
 public     | related_epic_links                                        | table             | gitlab
 public     | relation_import_trackers                                  | table             | gitlab
 public     | release_links                                             | table             | gitlab
 public     | releases                                                  | table             | gitlab
 public     | remote_mirrors                                            | table             | gitlab
 public     | repository_languages                                      | table             | gitlab
 public     | required_code_owners_sections                             | table             | gitlab
 public     | requirements                                              | table             | gitlab
 public     | requirements_management_test_reports                      | table             | gitlab
 public     | resource_iteration_events                                 | table             | gitlab
 public     | resource_label_events                                     | table             | gitlab
 public     | resource_link_events                                      | table             | gitlab
 public     | resource_milestone_events                                 | table             | gitlab
 public     | resource_state_events                                     | table             | gitlab
 public     | resource_weight_events                                    | table             | gitlab
 public     | reviews                                                   | table             | gitlab
 public     | routes                                                    | table             | gitlab
 public     | saml_group_links                                          | table             | gitlab
 public     | saml_providers                                            | table             | gitlab
 public     | saved_replies                                             | table             | gitlab
 public     | saved_views                                               | table             | gitlab
 public     | sbom_component_versions                                   | table             | gitlab
 public     | sbom_components                                           | table             | gitlab
 public     | sbom_graph_paths                                          | table             | gitlab
 public     | sbom_occurrence_refs                                      | table             | gitlab
 public     | sbom_occurrences                                          | table             | gitlab
 public     | sbom_occurrences_vulnerabilities                          | table             | gitlab
 public     | sbom_source_packages                                      | table             | gitlab
 public     | sbom_sources                                              | table             | gitlab
 public     | sbom_vulnerability_scans                                  | table             | gitlab
 public     | scan_execution_policy_rules                               | table             | gitlab
 public     | scan_result_policies                                      | table             | gitlab
 public     | scan_result_policy_violations                             | table             | gitlab
 public     | schema_migrations                                         | table             | gitlab
 public     | scim_group_memberships                                    | table             | gitlab
 public     | scim_identities                                           | table             | gitlab
 public     | scim_oauth_access_tokens                                  | table             | gitlab
 public     | secret_detection_token_statuses                           | table             | gitlab
 public     | secret_rotation_infos                                     | table             | gitlab
 public     | secrets_management_recovery_keys                          | table             | gitlab
 public     | security_attributes                                       | table             | gitlab
 public     | security_categories                                       | table             | gitlab
 public     | security_finding_enrichments                              | table             | gitlab
 public     | security_finding_token_statuses                           | table             | gitlab
 public     | security_findings                                         | partitioned table | gitlab
 public     | security_inventory_filters                                | table             | gitlab
 public     | security_orchestration_policy_configurations              | table             | gitlab
 public     | security_orchestration_policy_rule_schedules              | table             | gitlab
 public     | security_pipeline_execution_policy_config_links           | table             | gitlab
 public     | security_pipeline_execution_project_schedules             | table             | gitlab
 public     | security_policies                                         | table             | gitlab
 public     | security_policy_dismissals                                | table             | gitlab
 public     | security_policy_project_links                             | table             | gitlab
 public     | security_policy_requirements                              | table             | gitlab
 public     | security_policy_settings                                  | table             | gitlab
 public     | security_project_tracked_contexts                         | table             | gitlab
 public     | security_scan_profile_triggers                            | table             | gitlab
 public     | security_scan_profiles                                    | table             | gitlab
 public     | security_scan_profiles_projects                           | table             | gitlab
 public     | security_scans                                            | table             | gitlab
 public     | security_training_providers                               | table             | gitlab
 public     | security_trainings                                        | table             | gitlab
 public     | sentry_issues                                             | table             | gitlab
 public     | service_access_tokens                                     | table             | gitlab
 public     | service_desk_custom_email_credentials                     | table             | gitlab
 public     | service_desk_custom_email_verifications                   | table             | gitlab
 public     | service_desk_settings                                     | table             | gitlab
 public     | shards                                                    | table             | gitlab
 public     | slack_api_scopes                                          | table             | gitlab
 public     | slack_integrations                                        | table             | gitlab
 public     | slack_integrations_scopes                                 | table             | gitlab
 public     | slack_integrations_scopes_archived                        | table             | gitlab
 public     | slsa_attestations                                         | table             | gitlab
 public     | smartcard_identities                                      | table             | gitlab
 public     | snippet_repositories                                      | table             | gitlab
 public     | snippet_repository_states                                 | table             | gitlab
 public     | snippet_repository_storage_moves                          | table             | gitlab
 public     | snippet_statistics                                        | table             | gitlab
 public     | snippet_uploads                                           | table             | gitlab
 public     | snippet_user_mentions                                     | table             | gitlab
 public     | snippets                                                  | table             | gitlab
 public     | software_license_policies                                 | table             | gitlab
 public     | spam_logs                                                 | table             | gitlab
 public     | sprints                                                   | table             | gitlab
 public     | ssh_signatures                                            | table             | gitlab
 public     | status_check_responses                                    | table             | gitlab
 public     | status_page_published_incidents                           | table             | gitlab
 public     | status_page_settings                                      | table             | gitlab
 public     | subscription_add_on_purchases                             | table             | gitlab
 public     | subscription_add_ons                                      | table             | gitlab
 public     | subscription_seat_assignments                             | table             | gitlab
 public     | subscription_user_add_on_assignment_versions              | table             | gitlab
 public     | subscription_user_add_on_assignments                      | table             | gitlab
 public     | subscriptions                                             | table             | gitlab
 public     | suggestions                                               | table             | gitlab
 public     | supply_chain_attestation_states                           | table             | gitlab
 public     | system_access_group_microsoft_applications                | table             | gitlab
 public     | system_access_group_microsoft_graph_access_tokens         | table             | gitlab
 public     | system_access_microsoft_applications                      | table             | gitlab
 public     | system_access_microsoft_graph_access_tokens               | table             | gitlab
 public     | system_note_metadata                                      | table             | gitlab
 public     | tag_gpg_signatures                                        | table             | gitlab
 public     | tag_ssh_signatures                                        | table             | gitlab
 public     | tag_x509_signatures                                       | table             | gitlab
 public     | tags                                                      | table             | gitlab
 public     | target_branch_rules                                       | table             | gitlab
 public     | targeted_message_dismissals                               | table             | gitlab
 public     | targeted_message_namespaces                               | table             | gitlab
 public     | targeted_messages                                         | table             | gitlab
 public     | term_agreements                                           | table             | gitlab
 public     | terraform_state_version_states                            | table             | gitlab
 public     | terraform_state_versions                                  | table             | gitlab
 public     | terraform_states                                          | table             | gitlab
 public     | timelog_categories                                        | table             | gitlab
 public     | timelogs                                                  | table             | gitlab
 public     | todos                                                     | table             | gitlab
 public     | topics                                                    | table             | gitlab
 public     | trending_projects                                         | table             | gitlab
 public     | upcoming_reconciliations                                  | table             | gitlab
 public     | upload_states                                             | table             | gitlab
 public     | uploads                                                   | table             | gitlab
 public     | uploads_9ba88c4165                                        | partitioned table | gitlab
 public     | user_achievements                                         | table             | gitlab
 public     | user_admin_roles                                          | table             | gitlab
 public     | user_agent_details                                        | table             | gitlab
 public     | user_audit_events                                         | partitioned table | gitlab
 public     | user_broadcast_message_dismissals                         | table             | gitlab
 public     | user_callouts                                             | table             | gitlab
 public     | user_credit_card_validations                              | table             | gitlab
 public     | user_custom_attributes                                    | table             | gitlab
 public     | user_details                                              | table             | gitlab
 public     | user_follow_users                                         | table             | gitlab
 public     | user_group_callouts                                       | table             | gitlab
 public     | user_group_member_roles                                   | table             | gitlab
 public     | user_highest_roles                                        | table             | gitlab
 public     | user_member_roles                                         | table             | gitlab
 public     | user_namespace_callouts                                   | table             | gitlab
 public     | user_permission_export_upload_uploads                     | table             | gitlab
 public     | user_permission_export_uploads                            | table             | gitlab
 public     | user_phone_number_validations                             | table             | gitlab
 public     | user_preferences                                          | table             | gitlab
 public     | user_project_callouts                                     | table             | gitlab
 public     | user_project_member_roles                                 | table             | gitlab
 public     | user_saved_views                                          | table             | gitlab
 public     | user_statuses                                             | table             | gitlab
 public     | user_synced_attributes_metadata                           | table             | gitlab
 public     | user_uploads                                              | table             | gitlab
 public     | users                                                     | table             | gitlab
 public     | users_ops_dashboard_projects                              | table             | gitlab
 public     | users_security_dashboard_projects                         | table             | gitlab
 public     | users_star_projects                                       | table             | gitlab
 public     | users_statistics                                          | table             | gitlab
 public     | value_stream_dashboard_aggregations                       | table             | gitlab
 public     | value_stream_dashboard_counts                             | partitioned table | gitlab
 public     | verification_codes                                        | partitioned table | gitlab
 public     | virtual_registries_cleanup_policies                       | table             | gitlab
 public     | virtual_registries_container_cache_entries                | partitioned table | gitlab
 public     | virtual_registries_container_registries                   | table             | gitlab
 public     | virtual_registries_container_registry_upstreams           | table             | gitlab
 public     | virtual_registries_container_upstreams                    | table             | gitlab
 public     | virtual_registries_packages_maven_cache_entries           | partitioned table | gitlab
 public     | virtual_registries_packages_maven_cache_remote_entries    | partitioned table | gitlab
 public     | virtual_registries_packages_maven_registries              | table             | gitlab
 public     | virtual_registries_packages_maven_registry_upstreams      | table             | gitlab
 public     | virtual_registries_packages_maven_upstreams               | table             | gitlab
 public     | virtual_registries_packages_npm_cache_local_entries       | partitioned table | gitlab
 public     | virtual_registries_packages_npm_cache_remote_entries      | partitioned table | gitlab
 public     | virtual_registries_packages_npm_registries                | table             | gitlab
 public     | virtual_registries_packages_npm_registry_upstreams        | table             | gitlab
 public     | virtual_registries_packages_npm_upstreams                 | table             | gitlab
 public     | virtual_registries_settings                               | table             | gitlab
 public     | vs_code_settings                                          | table             | gitlab
 public     | vulnerabilities                                           | table             | gitlab
 public     | vulnerability_archive_export_uploads                      | table             | gitlab
 public     | vulnerability_archive_exports                             | partitioned table | gitlab
 public     | vulnerability_archived_records                            | partitioned table | gitlab
 public     | vulnerability_archives                                    | partitioned table | gitlab
 public     | vulnerability_detection_transitions                       | table             | gitlab
 public     | vulnerability_export_part_uploads                         | table             | gitlab
 public     | vulnerability_export_parts                                | table             | gitlab
 public     | vulnerability_export_uploads                              | table             | gitlab
 public     | vulnerability_exports                                     | table             | gitlab
 public     | vulnerability_external_issue_links                        | table             | gitlab
 public     | vulnerability_feedback                                    | table             | gitlab
 public     | vulnerability_finding_evidences                           | table             | gitlab
 public     | vulnerability_finding_links                               | table             | gitlab
 public     | vulnerability_finding_risk_scores                         | table             | gitlab
 public     | vulnerability_finding_signatures                          | table             | gitlab
 public     | vulnerability_findings_remediations                       | table             | gitlab
 public     | vulnerability_flags                                       | table             | gitlab
 public     | vulnerability_flip_guards                                 | table             | gitlab
 public     | vulnerability_historical_statistics                       | table             | gitlab
 public     | vulnerability_identifiers                                 | table             | gitlab
 public     | vulnerability_issue_links                                 | table             | gitlab
 public     | vulnerability_management_policy_rules                     | table             | gitlab
 public     | vulnerability_merge_request_links                         | table             | gitlab
 public     | vulnerability_namespace_historical_statistics             | table             | gitlab
 public     | vulnerability_namespace_statistics                        | table             | gitlab
 public     | vulnerability_occurrence_identifiers                      | table             | gitlab
 public     | vulnerability_occurrences                                 | table             | gitlab
 public     | vulnerability_partial_scans                               | table             | gitlab
 public     | vulnerability_reads                                       | table             | gitlab
 public     | vulnerability_remediation_uploads                         | table             | gitlab
 public     | vulnerability_remediations                                | table             | gitlab
 public     | vulnerability_representation_information                  | table             | gitlab
 public     | vulnerability_scanners                                    | table             | gitlab
 public     | vulnerability_severity_overrides                          | table             | gitlab
 public     | vulnerability_state_transitions                           | table             | gitlab
 public     | vulnerability_statistics                                  | table             | gitlab
 public     | vulnerability_triggered_workflows                         | table             | gitlab
 public     | vulnerability_user_mentions                               | table             | gitlab
 public     | web_hook_logs_daily                                       | partitioned table | gitlab
 public     | web_hooks                                                 | table             | gitlab
 public     | webauthn_registrations                                    | table             | gitlab
 public     | wiki_page_meta                                            | table             | gitlab
 public     | wiki_page_meta_user_mentions                              | table             | gitlab
 public     | wiki_page_slugs                                           | table             | gitlab
 public     | wiki_repository_states                                    | table             | gitlab
 public     | work_item_colors                                          | table             | gitlab
 public     | work_item_current_statuses                                | table             | gitlab
 public     | work_item_custom_lifecycle_statuses                       | table             | gitlab
 public     | work_item_custom_lifecycles                               | table             | gitlab
 public     | work_item_custom_status_mappings                          | table             | gitlab
 public     | work_item_custom_statuses                                 | table             | gitlab
 public     | work_item_date_field_values                               | table             | gitlab
 public     | work_item_dates_sources                                   | table             | gitlab
 public     | work_item_descriptions                                    | partitioned table | gitlab
 public     | work_item_number_field_values                             | table             | gitlab
 public     | work_item_parent_links                                    | table             | gitlab
 public     | work_item_progresses                                      | table             | gitlab
 public     | work_item_select_field_values                             | table             | gitlab
 public     | work_item_text_field_values                               | table             | gitlab
 public     | work_item_transitions                                     | table             | gitlab
 public     | work_item_type_custom_fields                              | table             | gitlab
 public     | work_item_type_custom_lifecycles                          | table             | gitlab
 public     | work_item_type_user_preferences                           | table             | gitlab
 public     | work_item_types                                           | table             | gitlab
 public     | work_item_weights_sources                                 | table             | gitlab
 public     | work_item_widget_definitions                              | table             | gitlab
 public     | workspace_agentk_states                                   | table             | gitlab
 public     | workspace_tokens                                          | table             | gitlab
 public     | workspace_variables                                       | table             | gitlab
 public     | workspaces                                                | table             | gitlab
 public     | workspaces_agent_config_versions                          | table             | gitlab
 public     | workspaces_agent_configs                                  | table             | gitlab
 public     | x509_certificates                                         | table             | gitlab
 public     | x509_commit_signatures                                    | table             | gitlab
 public     | x509_issuers                                              | table             | gitlab
 public     | xray_reports                                              | table             | gitlab
 public     | zentao_tracker_data                                       | table             | gitlab
 public     | zoekt_enabled_namespaces                                  | table             | gitlab
 public     | zoekt_indices                                             | table             | gitlab
 public     | zoekt_nodes                                               | table             | gitlab
 public     | zoekt_replicas                                            | table             | gitlab
 public     | zoekt_repositories                                        | table             | gitlab
 public     | zoekt_tasks                                               | partitioned table | gitlab
 public     | zoom_meetings                                             | table             | gitlab
(1050 rows)

newly created 18.9.0. The result is only 64 rows, all of which are standard data that comes with PostgreSQL.

psql -> \dt * postgresql for newly created 18.9.0
docker exec -it -u postgres postgres_for_newly_created_18.9.0 psql
postgres=# \c gitlabhq_production
You are now connected to database "gitlabhq_production" as user "postgres".
gitlabhq_production=# \dt *
                    List of relations
   Schema   |           Name           | Type  |  Owner
------------+--------------------------+-------+----------
 pg_catalog | pg_aggregate             | table | postgres
 pg_catalog | pg_am                    | table | postgres
 pg_catalog | pg_amop                  | table | postgres
 pg_catalog | pg_amproc                | table | postgres
 pg_catalog | pg_attrdef               | table | postgres
 pg_catalog | pg_attribute             | table | postgres
 pg_catalog | pg_auth_members          | table | postgres
 pg_catalog | pg_authid                | table | postgres
 pg_catalog | pg_cast                  | table | postgres
 pg_catalog | pg_class                 | table | postgres
 pg_catalog | pg_collation             | table | postgres
 pg_catalog | pg_constraint            | table | postgres
 pg_catalog | pg_conversion            | table | postgres
 pg_catalog | pg_database              | table | postgres
 pg_catalog | pg_db_role_setting       | table | postgres
 pg_catalog | pg_default_acl           | table | postgres
 pg_catalog | pg_depend                | table | postgres
 pg_catalog | pg_description           | table | postgres
 pg_catalog | pg_enum                  | table | postgres
 pg_catalog | pg_event_trigger         | table | postgres
 pg_catalog | pg_extension             | table | postgres
 pg_catalog | pg_foreign_data_wrapper  | table | postgres
 pg_catalog | pg_foreign_server        | table | postgres
 pg_catalog | pg_foreign_table         | table | postgres
 pg_catalog | pg_index                 | table | postgres
 pg_catalog | pg_inherits              | table | postgres
 pg_catalog | pg_init_privs            | table | postgres
 pg_catalog | pg_language              | table | postgres
 pg_catalog | pg_largeobject           | table | postgres
 pg_catalog | pg_largeobject_metadata  | table | postgres
 pg_catalog | pg_namespace             | table | postgres
 pg_catalog | pg_opclass               | table | postgres
 pg_catalog | pg_operator              | table | postgres
 pg_catalog | pg_opfamily              | table | postgres
 pg_catalog | pg_parameter_acl         | table | postgres
 pg_catalog | pg_partitioned_table     | table | postgres
 pg_catalog | pg_policy                | table | postgres
 pg_catalog | pg_proc                  | table | postgres
 pg_catalog | pg_publication           | table | postgres
 pg_catalog | pg_publication_namespace | table | postgres
 pg_catalog | pg_publication_rel       | table | postgres
 pg_catalog | pg_range                 | table | postgres
 pg_catalog | pg_replication_origin    | table | postgres
 pg_catalog | pg_rewrite               | table | postgres
 pg_catalog | pg_seclabel              | table | postgres
 pg_catalog | pg_sequence              | table | postgres
 pg_catalog | pg_shdepend              | table | postgres
 pg_catalog | pg_shdescription         | table | postgres
 pg_catalog | pg_shseclabel            | table | postgres
 pg_catalog | pg_statistic             | table | postgres
 pg_catalog | pg_statistic_ext         | table | postgres
 pg_catalog | pg_statistic_ext_data    | table | postgres
 pg_catalog | pg_subscription          | table | postgres
 pg_catalog | pg_subscription_rel      | table | postgres
 pg_catalog | pg_tablespace            | table | postgres
 pg_catalog | pg_transform             | table | postgres
 pg_catalog | pg_trigger               | table | postgres
 pg_catalog | pg_ts_config             | table | postgres
 pg_catalog | pg_ts_config_map         | table | postgres
 pg_catalog | pg_ts_dict               | table | postgres
 pg_catalog | pg_ts_parser             | table | postgres
 pg_catalog | pg_ts_template           | table | postgres
 pg_catalog | pg_type                  | table | postgres
 pg_catalog | pg_user_mapping          | table | postgres
(64 rows)

@th-2021
Copy link
Contributor

th-2021 commented Feb 24, 2026

My upgrade from 18.8.4 to 18.9.0 in my dev environment did work. In a new test installation I'm running into the same issue.

Another finding - maybe unrelated (from gitlab 18.9.0 release page):
For self-compiled installations, when upgrading to GitLab 18.9 or later, administrators must have Ruby 3.3.x or later. This change is necessary because Ruby 3.2 reaches its end-of-life on March 31, 2026, and will no longer receive official updates or support.

I'm rebuilding with ruby 3.3.10 right now.

@th-2021
Copy link
Contributor

th-2021 commented Feb 24, 2026

Database issue still present with ruby 3.3.10.

Ruby 3.3 changes:
RUBY_VERSION=3.3.10
RUBY_SOURCE_SHA256SUM="b555baa467a306cfc8e6c6ed24d0d27b27e9a1bed1d91d95509859eac6b0e928" \

delete assets/build/patches/ruby/0001-avoid-seeding_until-ruby3.3.0.patch

@kkimurak
Copy link
Contributor

kkimurak commented Feb 24, 2026

Looking into stack trace, lib/gitlab/gitaly_client/circuit_breaker.rb (that is introduced by gitlab.com/gitlab-org/gitlab!220200 and merged into 18.9.0) will be called if connection check for gitaly raises StandardError.
And circuit_breaker.call will call .enabled?. .enabled? will call Features.enabled? that requires active and well-initialized DB. As check_gitaly_connection executed before setup_db, rake task gitlab:db will fail then.

If the behavior of circuit_breaker is intended, there may be an issue on gitaly so that the connection check raises StandardError.

@kkimurak
Copy link
Contributor

kkimurak commented Feb 24, 2026

Well, I checked gitaly log (/var/log/gitlab/supervisor/gitaly.log*) and found that gitaly.socket is on strange path. There might be an update for gitaly config file or something else.

  • non working 18.9.0: time="level=info msg="listening at address" address=/tmp/gitaly-1252502797/sock.d/intern pid=878 schema=unix
  • working 18.8.4: time="2026-02-20T00:44:45.190Z" level=info msg="listening at address" address=/home/git/gitlab/tmp/sockets/private/gitaly.socket pid=886 schema=unix

@th-2021
Copy link
Contributor

th-2021 commented Feb 24, 2026

I see 2 listen statements:

time="2026-02-24T11:28:06.050Z" level=info msg="listening at address" address=/home/git/gitlab/tmp/sockets/private/gitaly.socket pid=980 schema=unix
time="2026-02-24T11:28:06.050Z" level=info msg="listening at address" address=/tmp/gitaly-789218373/sock.d/intern pid=980 schema=unix

@kkimurak
Copy link
Contributor

@th-2021

I see 2 listen statements:

Yeah I noticed that after I reported. Still not sure which is active (or both?)

@th-2021
Copy link
Contributor

th-2021 commented Feb 24, 2026

puma and sidekiq also show:

PG::UndefinedTable: ERROR: relation "application_settings" does not exist
LINE 10: WHERE a.attrelid = '"application_settings"'::regclass

2026-02-24 12:42:25,949 WARN exited: sidekiq (exit status 1; not expected)
2026-02-24 12:42:25,971 INFO spawned: 'sidekiq' with pid 1081
2026-02-24 12:42:25,971 WARN exited: puma (exit status 1; not expected)
2026-02-24 12:42:26,974 INFO spawned: 'puma' with pid 1083

After that both are running. Is gitlab_setup slower?

@kkimurak
Copy link
Contributor

Anyway, I think we can temporally move things forward by disabling call of Feature.enabled? on first run setup. I will check if it works after commenting out /home/git/gitlab/lib/gitaly_client/circuit_breaker.rb line 13

@kkimurak
Copy link
Contributor

After that both are running. Is gitlab_setup slower?

I think it's not. gitlab DB just did not set up correctly and everything stuck. puma and sidekiq can't connect to gitlab (or gitaly, gitlab-workhorse or anything else).

@kkimurak
Copy link
Contributor

kkimurak commented Feb 24, 2026

18.9.0 launch successfully with patch : c26b571 3ee97fe (rebased: see kkimurak/upgrade-to-18.9.0_patch)

image

I'm not sure but we may need to revert the change provided by this patch if not firstrun like:

# in assets/runtime/functions Line 2219, migrate_database()
  if [[ -z ${COUNT} || ${COUNT} -eq 0 ]]; then
    echo "Setting up GitLab for firstrun. Please be patient, this could take a while..."
    exec_as_git force=yes bundle exec rake gitlab:setup \
      ${GITLAB_ROOT_PASSWORD:+GITLAB_ROOT_PASSWORD=$GITLAB_ROOT_PASSWORD} \
      ${GITLAB_ROOT_EMAIL:+GITLAB_ROOT_EMAIL=$GITLAB_ROOT_EMAIL} >/dev/null
+  else
+    echo "Reverting patch lib/gitlab/gitaly_client/circuit_breaker.rb"
+    git apply -R "${GITLAB_BUILD_DIR}/patches/gitlabhq/0005-Disable-enabled-check-on-circuit_breaker.call.patch"
  fi

@kkimurak
Copy link
Contributor

There might be an update for gitaly config file or something else.

checking gitaly v18.9.0 but I could find out no critical change (like rename of socket_path) in config.toml (the configuration file itself is significantly behind the upstream though).

Also I noticed that circuit_breaker.check? (that clals circuit_breaker.enabled?) is called at beginning of gitaly_client.call. It means check_gitaly_connection will always fail if the database before setup_db.
At first, I mistakenly thought that the circut_breaker process was being executed because a Standard Error occurred during the connection check with gitaly, so I checked the logs to see if gitaly was starting up normally.

Even I commented out the line, gitaly client get response like below:

<Gitaly::ServerInfoResponse: server_version: "18.9.0", git_version: "2.52.gaea8cc3", storage_statuses: [<Gitaly::ServerInfoResponse::StorageStatus: storage_name: "default", readable: true, writeable: true, fs_type: "EXT_2_3_4", filesystem_id: "8b90c9f0-e3c3-4f7e-83f8-4ad31437c12f", replication_factor: 1>]>

and response.is_a(Enumerator) returns false so that result in circuit_breaker.call { }. I'm wondering why the reponse must be enum and why the reponse above is not enum and how could be so..

@kkimurak
Copy link
Contributor

Upstream issue (thanks @th-2021) : https://gitlab.com/gitlab-org/gitlab/-/issues/591292

@th-2021
Copy link
Contributor

th-2021 commented Feb 25, 2026

18.9.1 doesn't solve this. Error still happening.

@th-2021
Copy link
Contributor

th-2021 commented Feb 25, 2026

@kkimurak do you know how gitaly and gitlab:setup interact? I commented out gitaly and get the same error.

@kkimurak
Copy link
Contributor

@th-2021 Which file / line did you commented out?


Rake task gitlab:setup invoke
-> check_gitaly_connection invoke
-> Gitlab::GitalyClient::ServerService.new(name).info invoke.
Here, name is written in gitlab.yml - default for example (and I confirmed)
-> GitalyClient.call() invoked with arguments (@storage, :server_service, :server_info, Gitaly::ServerInfoRequest.new, timeout: GitalyClient.fast_timeout)
Here, @storage is set in Gitlab::GitalyClient::ServerService.initialize() that is automatically called by Gitlab::GitalyClient::ServerService.new()
-> GitalyClient::Call.call() invoked over GitalyClient.call()

If the database is empty (newly created), Feature.enabled? invoked by circuit_breaker.check! in GitalyClient::Call.call() and result to PG::UndefinedTable: ERROR: relation "application_settings" does not exist

If succeed, continues to:

-> GitalyClient.execute() invoked with contexts built above
-> GitalyClient.stub() invoked
-> ... (not traced yet..)

@th-2021
Copy link
Contributor

th-2021 commented Feb 26, 2026 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants