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
NULLsharding key inCOPYparser - 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 sopsqlworks 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. RunRELOADafter schema migrations to re-load schema. - feat: added
omnisharded_stickysetting to default to sticky routing for omnishardedSELECTqueries - feat: track server last sent/received messages
- fix: improve lock contention around server stats - faster QPS / server connection check-in
New Contributors
- @zacharyftw made their first contribution in #718
Full Changelog: v0.1.25...v0.1.26