PolarProxy release notes

Updated at:

Release notes for the database proxy (PolarProxy) in PolarDB for PostgreSQL.

2.3.65 (Release Date:2026-10-14)

Category

Description

New features and performance optimizations

Supports read/write classification and routing for Cypher graph queries. Explicitly read-only queries can be routed to read-only nodes. Write queries and queries that cannot be classified are treated as write statements.

Optimized session parameter management and SQL throttling to reduce processing overhead for connection reuse and rule matching.

Bug fixes

Fixed an issue where write operations in nested function invocations could be incorrectly routed to read-only nodes.

Fixed an issue where explicitly configured write-routing policies for functions could be overridden by read-only determination, preventing the policies from taking effect.

Fixed an inconsistency between PostgreSQL authentication errors returned by the proxy and those returned by the database, improving compatibility with Npgsql and EF Core clients.

Fixed an issue where a read-only endpoint containing only columnstore index (IMCI) nodes could not process regular queries, and improved available-node selection when a single IMCI node fails.

Fixed an issue where DynamoDB BatchGetItem could cause the proxy process to crash when multiple records were returned with nested attribute projections.

Fixed a memory leak that occurred when projections were used in the DynamoDB BatchGetItem API.

Fixed failures in certain PostgreSQL monitoring queries and memory leaks in DynamoDB request processing scenarios, improving long-running stability.

2.3.64 (Release Date:2026-07-29)

Category

Description

New features and performance optimizations

PolarDB for PostgreSQL Distributed Edition clusters support DynamoDB compatibility.

DynamoDB Scan/Query/ListTables now return a maximum of 100 items per response by default to prevent slow responses caused by full table scans.

DynamoDB Added theTagResource, andUntagResource, andListTagsOfResourcetag management APIs.

DynamoDB Added support for strict validation mode. Currently, strict validation mode returns a validation error for duplicate primary keys within the same table in batch reads.

Queries on thepg_stat_activityview now broadcast thenow()function call to all nodes.

Bug fixes

Fixed incorrect DynamoDB Scan / Query on non-existent tables or indexes could cause the proxy process to crash.

Fixed incorrect DynamoDB BatchGetItem response contained an incorrect field name for unprocessed items.

Fixed incorrect DynamoDB KeyConditionExpressionBETWEEN operator; validation errors are now returned when the operand types on both sides are inconsistent.

Fixed incorrect DynamoDB ina.#bexpressions.

Fixed two issues in PostgreSQL session parameter replay to read-only nodes: transient errors could interrupt replay, causing subsequent read-only query results to diverge from the primary node, andtransaction_read_onlywas incorrectly replayed to read-only nodes.

2.3.63.1 (Release Date:2026-05-07)

Category

Description

New features and performance optimizations

Optimized large-query routing for PostgreSQL to prevent proxy crashes on read-only endpoints.

DynamoDB Added thereturnItemCollectionMetricsparameter for write operation metrics.

Enabled backend connection pool reuse for DynamoDB to improve connection utilization.

Bug fixes

Fixed incorrect DynamoDB transaction API (TransactWriteItems/TransactGetItems) to correctly returnTransactionConflicterrors during conflicts.

The proxy process no longer crashes when a PostgreSQL client startup packet is missing theuserordatabaseparameter.

Response packets are now correctly forwarded when flow control is triggered on a PostgreSQL backend connection.

2.3.62.4 (Release Date:2026-03-31)

Category

Description

New features and performance optimizations

Disabled proxy syslog by default.

Bug fixes

Fixed console API call timeouts during primary node failover.

2.3.62.3 (Release Date:2026-03-10)

Category

Description

New features and performance optimizations

DynamoDB Added the Global consistency.

DynamoDB Added the UpdateTable command.

Improved connection reuse for RO nodes in DynamoDB error message for unsupported kernel functions.

Bug fixes

Fixed improper replay of internal errors when functions likeLoad Balancing Policyaddress whoseConnections-based Load Balancingis set toRead-only.

Fixed incorrect Transaction-level connection pools under specific scenarios.

Fixed a crash in the database proxy after cluster switchover when thealways_to_masterparameter is enabled.

Fixed incorrect DynamoDB compatibility feature.

Fixed incorrect DynamoDB compatibility response in the TransactWriteItems feature when a BEGIN ISOLATION LEVEL conflict occurs at SERIALIZABLEInternalServerError.

2.3.62.1 (Release Date:2026-02-03)

Category

Description

New features and performance optimizations

DynamoDB now supports database version validation.

Bug fixes

The role of a read-only node with a columnar index is now correctly identified after a switchover.

Global consistency checks no longer time out when the primary node is unavailable.

2.3.62 (Release Date:2026-01-22)

Category

Description

New features and performance optimizations

Added thePolarDB for PostgreSQL Distributed Editionclusters.

DynamoDB compatibility now supports the DescribeTimeToLive and UpdateTimeToLive APIs.

Bug fixes

Fixed a response packet error that occurred when executing a query with the extended protocol on keep-alive connections.

2.3.61 (Release Date:2025-12-30)

Category

Description

New features and performance optimizations

Added support for the SCRAM-SHA-256 authentication mechanism.

Enhanced connection persistence for faster failover recovery during switchovers.

Bug fixes

Fixed incorrect columnar index read-only node status.

Corrected theserver/client encodingparameter returned during connection establishment.

Fixed incorrect Document database compatibility connection parameter to theskipEmptyExchangefeature.

Corrected the error message and error code returned for connection failures.

2.3.60.1 (Release Date:2025-11-19)

Category

Description

New features and performance optimizations

Added MongoDB-compatible connection endpoints.

Added theFORCE_IMCI_NODEShint to route query requests to a columnar index read-only node.

Improved connection reuse for RO nodes in Transaction-level connection pools.

Improved connection reuse for RO nodes in Transaction-level connection poolsmode.

Enhanced the internal monitoring and probing mechanism.

Bug fixes

Fixed inaccurate parameter values returned by the server during connection setup.

Fixed result set merge failures when broadcasting queries on thepg_stat_activityview.

Fixed a bug requiring two cancel requests to stop a running query in non-connection pool mode.

Fixed reducedapplication_namereuse rate caused by the Transaction-level connection pools session parameter.

Fixed route forwarding failure caused by oversized Bind protocol messages from clients.

Fixed connection interruptions when calling the DynamoDB compatibility API in theBatchGetItemfeature.

2.3.59 (Release Date:

Category

Description

New features and performance optimizations

Added DynamoDB API compatibility for a custom endpoint.

Improved performance with a large number of databases.

Bug fixes

Fixed connection pool fill-up caused by held connection requests during node suspension.

Fixed improper replay of internal errors when functions likenextvalfail, which caused session errors.

Fixed missing tables in connection pool mode due to non-strictsearch_pathmatching.

Fixed incorrect replay of subsequent session commands caused by a session parameter replay error.

Fixed incorrect routing of someUNION ALLqueries to the primary node during read/write splitting.

2.3.58 (Release Date:

Category

Description

New features and performance optimizations

  • Improved transaction-level connection pool reuse rate with the extended query protocol.

  • Added support for persistent connections in the transaction-level connection pool.

Bug fixes

  • Fixed startup session parameters not taking effect in transaction-level connection pool mode.

  • Fixed connections in a "Transaction Error" state entering the transaction-level connection pool and affecting other sessions.

  • Fixed newly added SQL throttling rules not applying to existing connections.

  • Fixed SQL throttling not taking effect after an unexpected proxy restart.

  • Fixed incorrect routing of replayed statements that caused duplicate prepared statement errors when functions like nextval fail.

2.3.57 (Release Date:

Category

Description

Bug fixes

Fixed issues introduced by the on-demand replay of Parse/Prepare statements.

2.3.56 (Release Date:

Category

Description

New features and performance optimizations

  • Supports on-demand replay of Parse and Prepare statements, converting broadcast mode to unicast mode.

  • Added the SQL throttling template validation.

  • Supports dynamic configuration of send and receive buffer sizes.

Bug fixes

Fixed an issue where TLS 1.0 connections failed in a JDBC environment.

2.3.54 (Release Date:

Category

Description

New features and performance optimizations

  • Added support for SQL throttling.

  • Added support for on-demand connections.

Bug fixes

  • Fixed an issue where multi-statement queries were parsed incorrectly, causing routing errors.

  • Fixed configuration invalidation when replaying list-type parameters such assearch_path.

2.3.53 (Release Date:

Category

Description

New features and performance optimizations

Optimized short transaction forwarding.

Bug fixes

  • Fixed a node routing issue on read-only endpoints using active request-based load balancing during high latency.

  • Fixed a failedParsemessage replay causing connection closure.

  • Fixed incorrectPreparestatement executions.

2.3.52 (Release Date:

Category

Description

New features and performance optimizations

The consistency level now supports global consistency.

Bug fixes

  • Fixed a database proxy crash caused by a stack overflow when the database returned a largeError Msg.

  • Fixed a potential conflict when enabling or disabling the advanced transaction splitting feature for multiple custom endpoints.

  • Fixed a parsing failure for mixed-protocol messages.

  • Fixed incorrectClosemessages.

2.3.51 (Release Date:

Category

Description

New features and performance optimizations

  • Supports SSL mutual authentication, forced SSL, Certificate Revocation List (CRL), and TLS 1.3.

  • Supports message splitting.

  • Supports serverless cluster APIs.

  • Added themaster_failure_mode, which allows read-only nodes to serve requests if the primary node disconnects.

  • Added theenable_master_retry_reqparameter, which defaults tofalse, to stop read-only nodes from forwarding failed requests to the primary node.

  • Optimized the replay logic to combine and sendParseandClosemessages in a single operation.

  • A connection to a read-only node can now be established if authentication succeeds on the primary node, even if it fails on the read-only node.

Bug fixes

  • Fixed incorrectParsemessages marked asmaster_readnot being sent to other nodes.

  • Fixed unrecognizedDeallocatetype inPreparestatements when releasing resources withtype_mask.

  • Fixed incorrectis_superuserarray length.

  • Fixed incorrect error message returned on permission verification failure.

  • Fixed a crash caused by enabling SSL without thessl_versionparameter.

  • Fixed a crash caused by a failure to promptly terminate the processing of an abnormal auth packet.

2.3.50 (Release Date:

Category

Description

New features and performance optimizations

  • Adds support for persistent connections.

  • Enhances read/write splitting routing for SQL statements that contain functions.

Bug fixes

  • Fixed transaction status inconsistency on a read-only node after disconnect and reconnect.

  • Fixed connections to read-only nodes not being returned to the pool in connection pool mode.

2.3.49 (Release Date:

Category

Description

Bug fixes

  • Fixed inconsistent transaction status on read-only endpoints.

  • Fixed two memory leaks.

  • Fixed an out-of-bounds issue with C-type strings when parsing startup messages.

2.3.48 (Release Date:

Category

Description

New features and performance optimizations

Read-only endpoint load balancing now supports active request count-based balancing.

Bug fixes

  • Fixed message discarding in transaction-level connection pool mode caused by a MySQL function misidentifying PostgreSQL message types.

  • Fixed a kernel crash when calling the /v1/maxscaleAPI to adjust thethreadsparameter in version 2.3.47.

2.3.47 (Release Date:

Category

Description

Bug fixes

Fixed a connection reuse issue in the transaction-level connection pool that occurred when a statement failed within a transaction.

2.3.46 (Release Date:

Category

Description

New features and performance optimizations

Added transaction-level connection pooling.

Bug fixes

Fixed a crash on the read-only endpoint.

2.3.34 (Release date: 2023-06-06)

Category

Description

New features and performance optimizations

Added the/*force_session_to_master*/ hintto ensure all requests in a session are routed to the primary node.

Bug fixes

  • Fixed unbalanced load when using the LRU algorithm.

  • Fixed an issue where the\t\nhint failed to take effect when an SQL statement contained special characters like/*force_master*/.

  • Fixed a memory leak during PostgreSQL authentication.

  • Fixed a crash on the read-only endpoint.

2.3.33 (release date: 2022-11-16)

Category

Description

Bug fixes

  • Fixed a load-balancing issue with read-only endpoints.

  • Fixed a crash in clusters with more than 32 CPU cores.

2.3.31 (Release date: 2022-08-11)

Category

Description

Bug fixes

  • The control plane is now compatible with PolarDB for PostgreSQL 14 when refreshing configurations.

  • The database now validates the IP address and port of the database proxy when pgmon probes the database.

  • Function names in the whitelist are now case-insensitive.

  • Retrieving the whitelist count no longer causes the database proxy to continuously pull the whitelist.

2.3.28 (Release date: 2022-02-21)

Category

Description

New features and performance optimizations

Added graceful restart for database instances.

Bug fixes

Optimized transaction splitting. The transaction splitting switch on the proxy now controls the corresponding switch on the database.

2.3.26 (Release date: 2021-09-16)

Category

Description

Bug fixes

ConfiguredTCP KeepAliveparameters in the database proxy instead of relying on system parameters, ensuring consistentTCP KeepAlivebehavior across environments.

2.3.25 (release date: 2021-09-07)

Category

Description

Bug fixes

  • Stopped broadcasting parse messages with write attributes to read-only nodes.

  • Optimized the routing of global temporary tables.

  • Optimized the management of table name and function name whitelists.

  • Changed the unit for read-only delay to milliseconds, with a default of 300 ms.

2.3.24 (Release date: 2021-09-01)

Category

Description

Bug fixes

Read-only endpoints no longer check the message length.

2.3.23 (release date: 2021-06-03)

Category

Description

Bug fixes

  • A read-only node now remains in the running state if a connection probe times out; other types of probe failures will still change its state.

  • If a connection probe to a read-only node times out, the backend no longer routes new client connections to that node.

  • Routing can now identify and route global temporary tables.

  • Fixed memory bloat caused by numerous broadcast requests.

2.3.21 (2021-04-20)

Category

Description

New features and performance optimizations

  • The monitor now displays the values of internal database variables.

  • Added an option to force routing to the primary database.

Bug fixes

  • The monitor now initializes internal variables from the configuration upon startup.

  • Added support for traffic throttling.

2.3.16 (Release Date: 2021-02-22)

Category

Description

Bug fixes

  • When splitting extended query messages, the last of any consecutive E/v messages now serves as the split boundary.

  • By default, extended query messages are no longer split.

  • Parse message replays now include parameter information.

  • The monitor now establishes a single connection per probe cycle and uses it for all other probes within that cycle.

2.3.15 (Release date: 2020-12-28)

Category

Description

Bug fixes

  • Optimized routing whitelists for functions and tables. Removed 'nextval' from the function whitelist and added system tables to the table whitelist.

  • The routing node for Bind is now recorded. Execute messages are now routed separately using this recorded node.

  • Extended Query is now split, using Bind as the start boundary and Execute as the end boundary.

  • If a transaction routed to the primary database does not include an Execute message, the system treats it as having no write operations. This allows subsequent read requests to be routed to a read-only database.

  • SYNC messages are no longer routed until all results for broadcast messages have been received.

  • Fixed an issue where client connections would disconnect if a read-only node disconnected during connection establishment.

  • Added theenable_split_ext_pktsswitch. When this switch is off, the system does not split Extended Query message sequences.

  • The system no longer routes requests after the primary database connection closes.

  • Fixed an issue where new requests would stall when all read-only nodes were unavailable.

  • The system now broadcasts transaction start, commit, and rollback statements.

2.3.14 (Release date: 2020-09-29)

Category

Description

New features and performance optimizations

Added support for routing read-after-write requests to read-only nodes within RC isolation level transactions.

Bug fixes

  • Optimized read-only node reconnection. A disconnected read-only node no longer reconnects immediately. It now reconnects only after the next monitor probe confirms the node is healthy.

  • Fixed the primary node not being auto-added when the read/write endpoint was stopped.

  • Fixed "unhealthy database" errors returned to clients when a database connection failed.

2.3.12 (release date: 2020-08-19)

Category

Description

Bug fixes

Fixed a dual-primary issue where the flag on the old primary node was removed due to a connection failure when a new primary node was added.

2.3.10 (Release date: 2020-06-29)

Category

Description

New features and performance optimizations

Added support for custom endpoints.

Bug fixes

  • If a read/write cluster endpoint does not have a primary node, the monitor automatically adds the primary node to the endpoint.

  • Connections no longer stall when a client sends a sync message after a proxy broadcast and before a read-only node returns a result.

2.3.8 (release date: 2020-04-02)

Category

Description

Bug fixes

  • For Extended Query message splitting, the system now extracts message sequences containing Begin or Set from repeated message sequences to process and send them separately.

  • During transaction splitting, if a request is routed to a read-only node while a connection transaction is active, the system now updates the transaction status in the packet toin transaction.

2.3.7 (Release date: 2020-03-20)

Category

Description

New features and performance optimizations

PostgreSQL now supports transaction splitting.

Bug fixes

  • The system now checks if the whitelist table exists before querying its content.

  • The system now routes amulti-statementcontaining only SET and read requests directly to the primary node instead of broadcasting it.

2.3.6 (Release date: 2020-03-12)

Category

Description

New features and performance optimizations

  • Read-only nodes now automatically reconnect after an unexpected connection loss.

  • You can now add nodes dynamically.

Bug fixes

  • Fixed an issue where deleting a read-only node via an API call failed to disconnect its corresponding read-only connection.

  • Added support for edb protocol messages.

  • The proxy now retrieves a password from the database, if needed, before establishing a connection.

2.3.3 (Release date: 2020-02-13)

Category

Description

New features and performance optimizations

Introduced a dynamic whitelist for function and table names.

Bug fixes

Added JSON-related functions to the proxy's built-in function whitelist.

2.3.1 (release date: 2020-02-04)

Category

Description

Bug fixes

  • The switch allowing the primary node to accept read operations is now disabled by default.

  • Fixed an issue where SSL was blocking the proxy's main thread.

2.3.0 (Release Date: 2020-01-03)

Category

Description

New features and performance optimizations

  • SSL support.

  • Synchronous connection establishment.

  • Request cancellation.

  • Probing for database version information with monitor.

  • Merging of multi-node results for the pg_stat_activity, pg_locks, and pg_stat_ssl views.

Bug fixes

Fixed a memory leak in the parser.

2.2.2 (Release date: 2019-12-18)

Category

Description

Bug fixes

  • The execute statement now inherits the hint from the prepare statement.

  • Fixed an issue where theSEToperation did not lock the primary node in a stored procedure or transaction.

  • The proxy no longer crashes when a query is made while the primary database is not accepting reads and all read replicas have a weight of zero.

  • Allowing the primary database to accept reads no longer affects existing connections.

2.2.1 (release date: 2019-11-13)

Category

Description

Bug fixes

  • Enabled TCP keepalive after the TCP three-way handshake.

  • Added specific read request functions to the function whitelist.

2.2.0 (release date: 2019-10-24)

Category

Description

New features and performance optimizations

Added hint syntax (/* force_master */and/* force_slave */).

Bug fixes

  • Optimized multi-statement routing. The primary node is not locked if the statement contains only set and select.

  • The system now replays the original request to the primary node when a read-only node returns an error.

  • Fixed an issue where show statements were routed to the primary node.

2.1.0 (Release date: 2019-09-12)

Category

Description

Bug fixes

  • Added support for the PostgreSQL protocol.

  • The monitor can now probe the liveness status, primary/standby status, LSN offset, and replication delay (in microseconds) of PolarDB for PostgreSQL clusters.

  • Added support for read/write splitting.

  • Added support for session-level and table-level read consistency. Session-level read consistency is enabled by default, while table-level read consistency is disabled by default due to its limitations.