Creating a postgres column which allows all datatypes
I want to create a logging table which tracks changes in a certain table, like so: CREATE TABLE logging.zaak_history ( event_id bigint GENERATED ALWAYS AS IDENTITY PRIMARY KEY, tstamp timestamp DEFAULT NOW(), schemaname text, tabname text, columnname text, operation text, who text DEFAULT current_user, new_val <any_type>, old_val <any_type> ); However, the column that I want… Read More Creating a postgres column which allows all datatypes