Table of Contents

Search

  1. Preface
  2. Data Replication Overview
  3. Understanding Data Replication
  4. Sources - Preparation and Replication Considerations
  5. Targets - Preparation and Replication Considerations
  6. Starting the Server Manager
  7. Getting Started with the Data Replication Console
  8. Defining and Managing Server Manager Main Servers and Subservers
  9. Creating and Managing User Accounts
  10. Creating and Managing Connections
  11. Creating Replication Configurations
  12. Materializing Targets with InitialSync
  13. Scheduling and Running Replication Tasks
  14. Implementing Advanced Replication Topologies
  15. Monitoring Data Replication
  16. Managing Replication Configurations
  17. Handling Replication Environment Changes and Failures
  18. Troubleshooting
  19. Data Replication Files and Subdirectories
  20. Data Replication Runtime Parameters
  21. Command Line Parameters for Data Replication Components
  22. Updating Configurations in the Replication Configuration CLI
  23. DDL Statements for Manually Creating Recovery Tables
  24. Sample Scripts for Enabling or Disabling SQL Server Change Data Capture
  25. Glossary

Supported DDL Operations for PostgreSQL Targets

Supported DDL Operations for PostgreSQL Targets

The Applier task can apply the following DDL operations to PostgreSQL targets:
  • ALTER TABLE
    table_name
    ADD
    column_name
    datatype
  • ALTER TABLE
    table_name
    ADD CONSTRAINT
    constraint_name
    [PRIMARY KEY|UNIQUE] (
    column_name
    )
  • ALTER TABLE
    table_name
    ALTER COLUMN
    column_name
    SET DATA TYPE
    datatype
  • ALTER TABLE
    table_name
    ALTER COLUMN
    column_name
    SET NOT NULL
  • ALTER TABLE
    table_name
    DROP COLUMN
    column_name
    CASCADE
  • ALTER TABLE
    table_name
    DROP CONSTRAINT
    constraint_name
    CASCADE
  • CREATE INDEX
    index_name
    ON
    table_name
    (
    column_name
    )
  • CREATE TABLE
    table_name
    (
    column_name
    datatype
    [NULL|NOT NULL] [PRIMARY KEY (
    column_name
    ))
  • DROP INDEX
    index_name
    CASCADE
  • DROP TABLE
    table_name
  • TRUNCATE
    table_name
  • To replicate CREATE TABLE, ADD COLUMN, and RENAME COLUMN operations to PostgreSQL targets in Audit Apply mode, you must specify table and column names in all lowercase on the source. If you use uppercase, the Applier cannot replicate subsequent DML operations for the new table or column.
  • Data Replication does not enclose table names in quotation marks when replicating TRUNCATE TABLE operations. If the corresponding target tables have case-sensitive names, the Applier ends abnormally.

0 COMMENTS

We’d like to hear from you!