`evolve erase` tries to delete `citext` type
See original GitHub issueI’m creating a domain type based on citext
create extension if not exists citext;
create domain non_empty_citext as citext check (value ~ '\S');
Running evolve erase
fails with
ERROR: cannot drop type citext because extension citext requires it
HINT: You can drop extension citext instead.
STATEMENT: DROP TYPE IF EXISTS "public"."citext" CASCADE
ERROR: current transaction is aborted, commands ignored until end of transaction block2022-01-07 07:47:50.102 UTC [97] STATEMENT: SELECT pg_advisory_unlock(12345)
Not sure if I’m doing it wrong or this is a bug.
Issue Analytics
- State:
- Created 2 years ago
- Comments:19 (12 by maintainers)
Top Results From Across the Web
Documentation: 15: F.10. citext
The citext data type allows you to eliminate calls to lower in SQL queries, and allows a primary key to be case-insensitive. citext...
Read more >What does PRIMARY KEY actually signify, and does my ...
The citext data type allows you to eliminate calls to lower in SQL queries, and allows a primary key to be case-insensitive.
Read more >Documentation
pgTAP is a unit testing framework for PostgreSQL written in PL/pgSQL and PL/SQL. It includes a comprehensive collection of TAP-emitting assertion functions, ...
Read more >Chapter 2. Change Data Capture Connector for PostgreSQL
Although the column.blacklist configuration property allows you to remove columns from the event values, all columns in a primary or unique key are...
Read more >Just use Postgres for everything
I think that the job of a CTO is to minimize the surface area of "built in-house" so that your team can focus...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for your help on this one Peter. And thanks for the Dockerfile you post here and there. It is a very good starting point on how to use Evolve in a Docker pipeline
Tired of me ^^ Hopefully the 2nd times I added a new test scenario … works well apparently 😦