I am using PostgreSQL 9.5, I have a TYPE which discribes a collection of columns:
CREATE TYPE datastore.record AS
(recordid bigint,
...
tags text[]);
I have created many tables reliying on this TYPE:
CREATE TABLE datastore.events
OF datastore.record;
Now I would like to add a column to a table which rely on this TYPE without updating the TYPE. I think it is impossible as this, thus I am wondering if there is a way to unbind my table from this TYPE without losing any data or copying the table into a temporary table?