CedarDB Cloud is live! Get started for free →
releases December 1, 2026 • 6 minutes

CedarDB 2026: Release Rewind 

Part 2 covering ALTER statements, DROP CASCADE and configuration management.

This is part 2 of the end-of-year recap of the most impactful features we have shipped in CedarDB across our 2026 releases. Whether you have been following along closely or are just catching up, here are the additions we are most excited about.

ALTER TABLE: Schema Migrations That Just Work

v2026-05-26, v2026-08-13, v2026-08-20, v2026-09-29, v2026-10-08

Hardly any schema stays the same forever. A price stored as text needs to become numeric, a nullable column turns mandatory, and an old flag gets removed. Most teams don’t write these changes by hand. ORMs and migration tools like Prisma, Drizzle, Alembic and Flyway generate them, and they all use the same set of PostgreSQL ALTER TABLE statements. As of today, CedarDB supports all of them:

  • ALTER COLUMN ... TYPE ... USING to change a column’s type, with your own conversion expression if needed
  • ALTER COLUMN ... SET/DROP DEFAULT and SET/DROP NOT NULL
  • ALTER COLUMN ... ADD GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY
  • ADD COLUMN and DROP COLUMN, including on tables with indexes

This is what a typical migration looks like:

BEGIN;

-- prices were stored as text like '19.99 EUR'
ALTER TABLE products
ALTER COLUMN price TYPE numeric(10,2)
USING split_part(price, ' ', 1)::numeric;

ALTER TABLE products ALTER COLUMN price SET NOT NULL;
ALTER TABLE products ALTER COLUMN created_at SET DEFAULT now();

-- turn a plain integer key into an identity column
ALTER TABLE products
ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY;

ALTER TABLE products DROP COLUMN legacy_flag;

COMMIT;

Why DROP COLUMN is cheap now: Dropping a column no longer rewrites the table. CedarDB marks the column as a tombstone: it disappears from queries right away, while the stored data stays where it is. Other columns keep their identity, so indexes, views, foreign keys and prepared statements keep working. The space is freed the next time the table is rewritten anyway, for example by a type change. On a large table, the difference is milliseconds instead of a full copy of your data.

So if your app already runs its migrations against PostgreSQL, you can point them at CedarDB and they will run as they are. Check out our ALTER TABLE documentation for the details.

More ALTER Statements

v2026-07-09, v2026-07-22, v2026-08-13, v2026-10-08

Not only the table contents in a database, but also schemas change over time. CedarDB now covers most of the ALTER statements you know from PostgreSQL, so you can adjust existing objects in place by changing their schema, name, owner, or any other object-specific metadata. You can find all supported statements and their options for each object type in our catalog objects reference. Sequences can now also be reconfigured and reset after they were created, and attached to a table column so they are dropped together with the table.

One example where this comes in handy is a bulk import with explicit IDs on a sequence-backed column. Say you migrate your customers from another system and keep their existing IDs. The sequence behind the SERIAL column does not know about the imported rows, so the next insert without an explicit ID collides with an existing one:

CREATE TABLE customers (id SERIAL PRIMARY KEY, name TEXT);
INSERT INTO customers (id, name) VALUES (1, 'Alice'), (2, 'Bob'), (3, 'Carol');

INSERT INTO customers (name) VALUES ('Dave');
-- ERROR: duplicate key value violates unique constraint "customers_pkey"

With ALTER SEQUENCE, you move the sequence past the imported IDs, and new rows get fresh IDs again:

ALTER SEQUENCE customers_id_seq START WITH 4 RESTART;

INSERT INTO customers (name) VALUES ('Dave'); -- gets id 4

DROP … CASCADE: Clean Up Your Schema in One Statement

v2026-08-20

Database objects rarely stand alone. Views read from tables, foreign keys point to other tables, columns get their defaults from sequences, and functions use custom types. If you drop one of these objects, the others break. Like PostgreSQL, CedarDB now tracks these links and protects you from breaking them by accident:

CREATE TABLE orders (id int PRIMARY KEY, customer text, amount numeric);
CREATE VIEW big_orders AS SELECT * FROM orders WHERE amount > 1000;

DROP TABLE orders;
-- ERROR:  cannot drop table orders because other objects depend on it
-- DETAIL: view big_orders depends on it
-- HINT:  Use DROP ... CASCADE to drop the dependent objects too.

If you do want to remove the table and everything built on it, add CASCADE:

DROP TABLE orders CASCADE;  -- drops orders and big_orders

CASCADE works for tables, views, sequences, functions, types, schemas, and more. It removes only what actually depends on the dropped object. For example, if another table has a foreign key to orders, that table stays. Only its foreign key constraint is removed. The same tracking also applies to ALTER TABLE ... DROP COLUMN.

Under the hood: CedarDB keeps a dependency graph of all catalog objects. Every view, default, constraint, index and sequence records which objects it uses. A drop looks at this graph. Without CASCADE, it lists everything that would break and stops. With CASCADE, it follows the links and removes all dependent objects in the same transaction. The graph is available through PostgreSQL’s system catalogs pg_depend and pg_shdepend (for shared objects like roles and databases). Admin tools, ORMs and migration frameworks read these catalogs to find out what depends on what, and they now get correct answers from CedarDB. You can query it yourself:

SELECT DISTINCT objid::regclass AS dependent, deptype
FROM pg_depend
WHERE refobjid = 'orders'::regclass AND classid = 'pg_class'::regclass;

This matters for migrations. Tools like Drizzle and Prisma use DROP ... CASCADE when they reset or rebuild a schema. Those migrations now run on CedarDB without any workarounds.

Configuration Management

v2026-08-13, v2026-09-29

CedarDB lets you configure options persistently. If you want to change the default schema for your queries, you can set:

ALTER USER myUser SET search_path = mySchema, '$user', public;

To change the default for all users of a database, you can also change the database default:

ALTER DATABASE myDatabase SET search_path = mySchema, '$user', public;

Changing instance startup settings, like the SSL / TLS certificates that connecting clients verify can also be changed, and apply after a restart:

ALTER SYSTEM SET ssl_cert_file = '/path/to/certificate.pem';

That’s it for now!

See you soon in the next edition of the release rewind. It’s going to highlight materialized views, savepoints and PostgreSQL-compatible functions.

Want to try out the new features right away? Head to CedarDB Cloud and run the queries on the shared demo project or your own trial instance, free of charge for 30 days.

Prefer working locally? Have a look at our installation guide.

Questions or feedback? Join us on Slack or reach out directly.