Gitlab Currently Incompatible with Postgres

Description:

Gitlab upgrade crashes during DB migration beacuse it cannot recognize a symbol in plpgsql.so

Additional info:

Caused by:
PG::UndefinedFile: ERROR:  could not load library "/usr/lib/postgresql/plpgsql.so": /usr/lib/postgresql/plpgsql.so: undefined symbol: ReleaseAllPlanCacheRefsInOwner
/usr/share/webapps/gitlab/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.7/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `exec'
/usr/share/webapps/gitlab/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.7/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block (2 levels) in execute'
  • package version(s):
    • gitlab 17.11.0-1
    • gitlab-cli 1.36.0-1
    • gitlab-container-registry 4.20.0-1
    • gitlab-exporter 0.5.2-1
    • gitlab-gitaly 17.11.0-1
    • gitlab-monitor 1.7-1
    • gitlab-pages 17.11.0-1
    • gitlab-runner 17.11.0-1
    • gitlab-shell 3:14.41.0-2
    • gitlab-upgrade-hook 1-4
    • postgresql 17.4-1
    • postgresql-libs 17.4-1
  • config and/or log files:
  • link to upstream bug report, if any:

Steps to reproduce:

  1. pacman -Syu
  2. weep