pgschema icon indicating copy to clipboard operation
pgschema copied to clipboard

Terraform-style, declarative Postgres schema migration. Agent friendly.

Results pgschema issues
Sort by recently updated
recently updated
newest added

**Version:** v1.13.1 (darwin/arm64), PostgreSQL 18.6 (`postgres:18`), default embedded plan database ### Summary `plan` does not compare a partition's bounds or whether it is attached. A partition re-attached with different bounds,...

## Summary An apostrophe inside a valid double-quoted identifier breaks desired-state schema qualification handling. Two independent inputs expose the problem: 1. A schema named `Tenant'B` produces a successful plan that...

## Summary An online index replacement generates a predictable `_pgschema_new` name. If a valid, independently desired index on another table already occupies that name, `CREATE INDEX CONCURRENTLY IF NOT EXISTS`...

## Summary `pgschema apply` fails on a schema containing mutually recursive SQL-language functions, because the generated plan creates them one after another while `check_function_bodies` is on, and no order can...

## Problem PostgreSQL automatically creates indexes for inherited PRIMARY KEY and UNIQUE constraints when creating a partition. During dump replay, pgschema can create objects in a different order from the...

**Version:** v1.13.1 (darwin/arm64), PostgreSQL 18.6 (`postgres:18`), default embedded plan database ### Summary When a role holds column privileges of more than one type on the same columns, `dump` and `plan`...

**Version:** v1.13.1 (darwin/arm64), PostgreSQL 18.6 (`postgres:18`), default embedded plan database ### Summary Privileges on partitioned tables are neither dumped nor diffed. A `GRANT` on a partitioned table in the desired...

Thanks for pgschema, and for the fix in #398, which we just upgraded for. **Request:** publish a checksums file (for example `pgschema--checksums.txt`, in `sha256sum` format) as an asset of each...

Thanks for pgschema! We use it to manage our application's schema, and it has been really useful. ### Environment - pgschema v1.13.1 and main (2bb3352) - PostgreSQL 18 ### Summary...

We're using pgschema 1.13.0 against Supabase, and planning is becoming a significant bottleneck in CI. Our setup: - Separate `public` and `private` schema invocations. - The remote target database also...