PostgreSQL Partitioning Error: ERROR: cannot specify default tablespace for partitioned relations
I am trying to add partitioning to a table in my database. Here is an example: CREATE TABLE IF NOT EXISTS myBd.test_table ( id SERIAL PRIMARY KEY, name VARCHAR(50) NOT NULL, age INT NOT NULL ) PARTITION BY hash (id);…