Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Yandex Data Transfer
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Managing a source endpoint
      • Creating a source endpoint
      • Updating a source endpoint
      • Deleting a source endpoint
    • Managing a target endpoint
      • Creating a target endpoint
      • Updating a target endpoint
      • Deleting a target endpoint
    • Managing the transfer process
      • Creating a transfer
      • Updating a transfer
      • Deleting a transfer
  • Concepts
    • Relationship between service resources
    • What tasks is the service used for?
    • Service specifics
      • Overview
      • MySQL specifics
      • PostgreSQL specifics
    • Monitoring transfers
    • Quotas and limits
  • Access management
  • Pricing policy
  • Questions and answers
  1. Concepts
  2. Service specifics
  3. PostgreSQL specifics

PostgreSQL specifics

    We can't guarantee data migration scenarios between major versions with a minor version.

    1. If you use User-defined types in your schemas, create a schema for the target database in advance.

      Because of the replication protocol limitations, the replication can only save data from such columns if they have the text type.

    2. At the copying stage, make sure that the following options are disabled on the target: integrity check for foreign keys, triggers, and other constraints.

      This is necessary because it's not possible to check a specific insert. In this configuration, the source ensures guarantees based on foreign keys.

    3. Working with sequences.

      Replication can't guarantee that sequence values are preserved, so we recommend updating the sequences on the target.

    4. You can't use the PostgreSQL replication protocol to get information about data schema changes.

      If you change the database schema on the source, the replication operation issues an error at the first insert to a new field or table. To change the schema at this stage, you need the administrator to intervene on the target.

    Language
    Careers
    Privacy policy
    Terms of use
    © 2021 Yandex.Cloud LLC