Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Managed Service for PostgreSQL
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
    • General questions
    • Connection
    • Updating a cluster
    • Cluster configuration
    • Moving and restoring a cluster
    • Upgrading the PostgreSQL major version
    • Users and roles
    • High availability and load balancing
    • Monitoring and logs
    • Error messages
    • All questions on one page
  1. FAQ
  2. Upgrading the PostgreSQL major version

Upgrading the major PostgreSQL version in Yandex Managed Service for PostgreSQL

Written by
Yandex Cloud
Updated at April 13, 2026
  • Do I need to run ANALYZE and/or REINDEX and refresh statistics (pg_stat_user_tables and pg_statistic) manually after upgrading the major PostgreSQL version ?
  • Does Managed Service for PostgreSQL check whether the collation version has changed after upgrading the major PostgreSQL version?
  • How do I access logs and generated scripts after upgrading the major PostgreSQL version?
  • Can a major version upgrade fail?

Do I need to run ANALYZE and/or REINDEX and refresh statistics (pg_stat_user_tables and pg_statistic) manually after upgrading the major PostgreSQL version?Do I need to run ANALYZE and/or REINDEX and refresh statistics (pg_stat_user_tables and pg_statistic) manually after upgrading the major PostgreSQL version?

You do not need to run ANALYZE and/or REINDEX and refresh statistics manually after upgrading the major version. This is done automatically after the upgrade.

Learn more about upgrading the major PostgreSQL version in Managed Service for PostgreSQL.

Does Managed Service for PostgreSQL check that the collation version has changed after upgrading the major PostgreSQL version?Does Managed Service for PostgreSQL check that the collation version has changed after upgrading the major PostgreSQL version?

collation versions do not change when upgrading the major version, so version checks are not performed.

How do I access logs and generated scripts after upgrading the major PostgreSQL version?How do I access logs and generated scripts after upgrading the major PostgreSQL version?

The process logs are not available to users. If a preliminary check (--check) or an upgrade fails, the necessary details are displayed in an error message.

Can a major version upgrade fail?Can a major version upgrade fail?

An upgrade may fail due to conflicts in the data schema, incompatibility of extensions, or stored procedures. The specific reason is shown in the error message.

Was the article helpful?

Previous
Moving and restoring a cluster
Next
Users and roles
© 2026 Direct Cursus Technology L.L.C.