Skip to content

v0.1.26

Choose a tag to compare

@levkk levkk released this 23 Jan 22:51
· 141 commits to main since this release
c8f474e

What's Changed

  • feat: add query_cache_parse_time (Prometheus only) metric for measuring how much time PgDog spends parsing queries
  • chore: logging improvements for connections terminated by Postgres @zacharyftw
  • fix: detect and handle pg_dump's end of input COPY marker
  • fix: handle NULL sharding key in COPY parser
  • fix: shard key update didn't disconnect servers in case of error, causing routing confusion
  • feat: omnishard system catalogs (e.g. pg_database) by default so psql works out of the box
  • feat: all tables are omnisharded now unless specified in [[sharded_tables]] (or [[sharded_schemas]]). [[omnisharded_tables]] is now optional and can be used to configure sticky routing for specific tables if needed. PgDog connects to Postgres on startup (only for sharded clusters) and fetches the schema, so it can detect sharded columns with column names in [[sharded_tables]] only. Run RELOAD after schema migrations to re-load schema.
  • feat: added omnisharded_sticky setting to default to sticky routing for omnisharded SELECT queries
  • feat: track server last sent/received messages
  • fix: improve lock contention around server stats - faster QPS / server connection check-in

New Contributors

Full Changelog: v0.1.25...v0.1.26