Skip to content

v0.1.67

Latest

Choose a tag to compare

@levkk levkk released this 03 Dec 15:53
· 1 commit to main since this release
43fe244

Bug fixes

  • RDS IAM passthrough now correctly validates tokens against the database they were created in multi-database configurations, e.g., primary and replicas @matslina
  • Correctly handle RDS IAM passthrough tokens signed by the AWS Go SDK @matslina
  • Correct client authentication flow, allowing tools like HAProxy and pg_isready to work with PgDog without it logging an authentication error @levkk
  • Handle underflow in cross-shard DISTINCT ON with ordinal column arguments @murex971
  • [Enterprise] Globally distributed sequence was not applied to INTEGER columns @levkk
  • Handle older versions of pgdog.toml and users.toml configuration files without crashing @meskill
  • Timestamps in cross-shard aggregate results were adding unnecessary zeros in the millisecond field, breaking acceptance tests @murex971
  • Checkout timeout could cause incorrect active server counts on pools, breaking least_active_connections load balancing @meskill
  • Correctly handle cross-shard COPY that doesn't supply the column list, e.g., COPY users FROM [...]
  • Cross-shard AVG() now uses SUM instead of averages of averages which could lose precision @murex971
  • Correctly handle cross-shard OFFSET without a LIMIT and return an error for LIMIT/OFFSET we currently don't support @murex971

Features

  • Add support for cross-shard DISTINCT and COUNT(DISTINCT), incl. aggregation @murex971
  • Add support for cross-shard ORDER BY over aggregate functions, e.g., ORDER BY count(*) @murex971
  • [WIP] Crash safety for online resharding @meskill
  • Support for routing queries to specific replicas using configured labels and a query comment & session parameter. @levkk
  • PgDog will now drop idle connections immediately upon receiving the shutdown signal. This helps with rolling updates & blue/green deployments for databases that are maxed out on available connections. @levkk
  • Add configurable replica lag handling for queries that request a specific LSN. Queries can now fail or wait for the LSN to become available @meskill
  • Support DATE data type for cross-shard ordering and aggregate functions @murex971
  • PgDog now answers empty queries without talking to Postgres (e.g., ;). This allows for faster application-side connection health checks, removing one network hop @levkk

Security

Code quality

  • Move more crates and configuration into the workspace Cargo.toml @meskill

Full Changelog: v0.1.66...v0.1.67