pgschema
pgschema copied to clipboard
Terraform-style, declarative Postgres schema migration. Agent friendly.
I'm finishing up database setup in my project. The most convenient cross-platform solution that will work for all developers is using `pgschema` via docker image. I already have other tools...
I recently reported issue requesting support for `security_invoker`. I'm testing this feature and it works only half-way. It works well for statically defined views like below ```sql CREATE OR REPLACE...
When connecting to databases, especially behind corporate proxies with tls inspection there is a need to tinker around `sslmode` in connections. I saw in the code that the `sslmode` in...
When I create a function and set the search_path to '' and then run the plan I see the output showing search_path with "" instead. When I run the apply...
Hi, pgschema is really great. I did run into a small issue though regarding unique indexes. The following schema: ```postgresql create table example ( id serial primary key, first_name text...
First of all, love PGSCHEMA so thanks for creating it! One issue for me is that the docker image is somewhat behind compared to the GitHub repo. I use it...
I dump'ed my db (postgrest-17.6) and used the dump on my db to generate a plan. I assumed the plan would be empty, but it isn't. It contains a seeming...
pgschema does not detect changes of type when precision or scale is modified. I have a table as follows: ``` CREATE TABLE IF NOT EXISTS "public"."my_table" ( "id" "uuid" DEFAULT...
## Description pgschema silently drops `WITHOUT OVERLAPS` from temporal primary keys and `PERIOD` from temporal foreign keys when generating migration plans or dumping schemas. These are PostgreSQL 18 features for...
Bug: Changing privileges of functions with enums include the qualified name of the temporal schema
old.sql: ```sql DO $$ BEGIN IF NOT EXISTS (SELECT 1 FROM pg_roles WHERE rolname = 'app_user') THEN CREATE ROLE app_user; END IF; END $$; CREATE TYPE entity_kind AS ENUM ('person',...