Postgres ProGate 1.5.0
Release date: 2026-11-06
This release extends data migration and replication functionality, providing improved support for existing sources and destinations and adding new ones, as well as enhances security.
Main Changes
The following main features were added:
-
procopy: Added support for Oracle and Postgres Pro AXE 2.0 as a data destination.
-
prosync: Added support for Oracle standby and downstream databases as replication sources.
-
prosync: Added the ability to create a replication slot in the past using the
--start-lsnoption. -
prosync: Optimized Oracle RAC operation, improved the high-availability mode, and implemented log rotation.
-
Postgres ProGate backend and frontend: Implemented server-side table mapping.
-
Security: Limited the request rate to authentication endpoints, hardened authentication cookies, and added sending of HSTS headers.
Changes in Detail by Components
procopy
-
Added support for Oracle as a data destination. The following data types are supported:
CHAR,VARCHAR2,NCHAR,NVARCHAR2,NUMBER,FLOAT,BINARY_FLOAT,BINARY_DOUBLE,DATE,TIMESTAMP,BLOB,CLOB,NCLOB,LONG,LONG RAW. -
Added support for Postgres Pro AXE 2.0.
-
Added the
--stop-on-erroroption of theprocopy loadcommand, which allows the utility to stop the load process when the first error occurs, instead of saving problematic rows by default. -
Added the ability to disable the database query timeout (for example, for Oracle) by setting the
procopy_options.inprogress_timeoutparameter to0. -
Added logging of debug messages at utility startup and removed the redundant message about the minimum Oracle SCN.
-
Fixed an error that could occur when transferring Oracle columns of the
LONGandLONG RAWtypes in tables with a primary key or a unique constraint. -
Fixed an error in handling special characters in the login and password of a database connection string.
-
Fixed an error in processing unique indexes of a PostgreSQL source.
-
Fixed an error that could occur while streaming Oracle data of the
BLOBtype if its size exceeded the value of theprocopy_options.quick_fetch_lob_sizeparameter. -
Fixed an issue that could cause procopy to hang in an infinite loop when the connection to the destination was lost. Now procopy retries sending the batch the number of times specified by the
procopy_options.load_max_retriesconfiguration parameter. If the connection is restored, data loading continues. If all retry attempts are exhausted, procopy terminates with an error. -
Upgraded Go to version 1.27.3.
prosync
-
Added the ability to read changes from a read-only physical standby Oracle database. The functionality is configured using the
prosync_options.oracle_logminer_downstreamgroup of parameters. -
Added the
--start-lsnoption to theprosync initcommand. It allows you to create a logical replication slot in the past, that is, a slot from which changes are read starting from the specified LSN. Single-node databases, BiHA clusters, and Postgres Pro Shardman are supported. This requires the pgpro_logical_slot extension. Refer to Creating a Logical Replication Slot in the Past for details. -
Added the
--publication-onlyflag to theprosync initcommand to create only a publication, without a replication slot. -
Added the ability to specify custom names of the logical replication slot and the publication using the
prosync_options.custom_slot_nameandprosync_options.custom_pub_nameconfiguration parameters. For details, see Custom Names of the Replication Slot and the Publication. -
Added the
prosync_options.ha_clustergroup of configuration parameters for managing thehigh-availability modeof prosync. These parameters allow configuring heartbeats, the time limit for the automaticprosync completeoperation, reconnection and retry for the source, destination, and supporting databases, as well as restarting the data transfer threads. -
Added the
logginggroup of parameters that control <application>prosync</application> logging behavior. They allow specifying logging level, format, andstderrusage as well as log file parameters, such as path and rotation. -
Added the ability to run prosync in the service mode using the
prosync run--service`option. In this mode, the utility operation statistics are written to the log in addition to the terminal output. The statistics logging interval is set by the `prosync_options.statistic_intervalconfiguration parameter. -
Added the
--pprof-portoption of theprosync runcommand that enables runtime profiling and starts the pprof server. -
Added the ability to change the set of replicated PostgreSQL fields at the source and destination.
-
Added the
allow_string_to_int_castanddefault_valueparameters to support string column values in the dst_shard_filter_mapping condition. -
Added the
--from-timeoption of theprosync initcommand that allows specifying the exact start time of processing changes instead of the current SCN. This option applies only to Oracle sources. -
Added the ability to save the names of the logical replication slots in use to the storage.
-
Added displaying of the
Active,Write,Waitoperation states in the TUI. -
Added the
prosync_options.use_originconfiguration parameters, which allow running prosync in theprimary-primary bidirectional replication modebetween two PostgreSQL/Postgres Pro databases. This feature usesreplication originsto avoid replication loops of the same changes between the replication nodes. Requires PostgreSQL/Postgres Pro 16 or higher. -
Added the
prosync_options.postgres_timeout_waiting_no_operationsandprosync_options.postgres_timeout_checking_no_operationsconfiguration parameters that allow specifying the timeout for waiting new operations as well as the timeout for checking new operations in the slot, respectively. These parameters control the replication slot advancement when there are no changes in the replicated tables. -
Added the
prosync_options.postgres_consumer_wait_timeoutconfiguration parameter that allows specifying the time to wait for passing a write operation to the destination database. This parameter is required tomaintain the replication connection. -
Added the
--forceflag of theprosync completecommand that forces clearing of the replication slot even if some of the cluster nodes are unavailable. -
Added the
--oracle-include-bg-txflag of theprosync runcommand that enables transferring background transactions while reading changes from the Oracle source. By default, such transactions are skipped. -
Extended statistics: the last SCN for RAC and the parallel exporter, the
Bytes lagandTime lagmetrics for Oracle export, and theImports/Updated/Deletescounters for PostgreSQL sources. -
Optimized the Oracle RAC pipeline and reading of distributed transactions, and improved statistics in the TUI.
-
Fixed prosync handling of the
V$ARCHIVED_LOGview entries with aNULLvalue in theNAMEcolumn. Such entries may appear in Oracle RAC when an archive log file is missing from the archive destination. Previously, they made prosync stop with an error. Now the utility reports the missing archive log explicitly. The new--skip-missing-archive-logsoption of theprosync runcommand additionally allows skipping such entries instead of stopping, which, however, may cause data loss for the affected SCN range. -
Fixed an issue that could cause data loss when the slot was advanced while there were no new operations.
-
Fixed the
walsenderwaiting when the export is blocked on sending operations to the consumer. -
Fixed an issue that caused the utility to terminate when one of the Postgres Pro Shardman segments was unavailable.
-
Improved the reconnection strategy for PostgreSQL clusters.
-
Sped up the introspection of Oracle and PostgreSQL schemas.
-
Upgraded Go to version 1.27.3.
Postgres ProGate backend
|
When upgrading, transfers with legacy table task groups that lack a schema identifier are reset: active task groups and tasks (including tasks of the SQL query type) are deleted, and the transfer returns to the Draft status. After the upgrade, you must re-create task groups and perform matching for such transfers. Transfers containing only tasks of the SQL query type are preserved. |
-
Implemented server-side table mapping: automatic table mapping, integration of matching into the transfer service, and migration of legacy table tasks to the new mapping.
-
Optimized asynchronous database introspection, which reduced the time required to prepare data transfers by a factor of five.
-
Added support for Postgres Pro AXE 2.0 (introspection, validation).
-
Added checking of the ability of applications to connect to the source and destination databases.
-
Added support for the
procopy_options.sub_tasks_countprocopy configuration parameter. -
Fixed an introspection error on empty schemas.
-
Security:
-
Added the
http_server.enable_secure_cookiesconfiguration parameter that allows disabling theSecureandPartitionedattributes of the authentication cookies and sending theStrict-Transport-Security(HSTS) header making it possible to access the web interface over HTTP. -
Added the
Partitioned,Secure, andSameSiteattributes to the session cookie. -
Added rate limiting of requests per client IP for the authentication and token refresh endpoints.
-
Added HSTS headers to every response.
-
Removed the default value of the
PROGATE_AUTH_ACCESS_TOKEN_SECRETvariable.
-
-
Upgraded Go to version 1.27.3.
Postgres ProGate frontend
-
Improved the web interface and refined its color scheme.
-
Reworked the page for managing data transfer tasks. Now you can select only the filtered tables.
-
Implemented server-side table mapping:
-
Task creation and editing is split into two steps: the task form and the matching table.
-
Added the Auto-matching button and a draft of manual matching with saving or resetting of changes.
-
Server-side table selection and statistics: Selected, Errors, Ready to transfer.
-
Added table-level data transfer task parameters.
-
Added search for source tables by substring.
-
Added server-side status filters and auto-matching for the selected tables.
-
Added selection of all filtered tables.
-
Added pagination and prefetching of adjacent pages.
-
-
Reworked the data transfers page, which now has the Tasks and Event log tabs.
-
Improved validation of the connection setting forms.
-
SQL editor: autocompletion of tables after
FROM/JOINwithout entering a prefix, and correct quoting of names containing dots. -
Added the Show system schemas check box in the replication task forms.
-
Connections that do not meet the procopy/prosync requirements are now not available for selection in the transfer creation form.
-
The action panel (Save/Reset) is pinned to the bottom of the page on long forms.
-
Added support for Postgres Pro AXE 2.0.
Fixed Vulnerabilities
The following vulnerabilities were fixed in this release:
-
In the Go standard library (fixed by upgrading Go to version 1.27.3): CVE-2026-56857, CVE-2026-56866, CVE-2026-78667, CVE-2026-94439, CVE-2026-94440, CVE-2026-97031.
-
In the
golang.org/x/netlibrary (fixed by upgrading the library): CVE-2026-78659, CVE-2026-78660, CVE-2026-78663, CVE-2026-78669, CVE-2026-97032. -
In the
nanoidlibrary (fixed by upgradingnanoidto version 5.1.16): CVE-2026-67214.