Chris Drawater <Chris(dot)Drawater(at)viavisolutions(dot)com> writes:
> geo=> create table junk ( a int, b int) PARTITION BY RANGE (a);
> ERROR: cannot specify default tablespace for partitioned relations
I'm guessing you've got default_tablespace set to something nonempty.
I don't know why the decision was made to throw an error rather than
silently ignoring the setting ...
regards, tom lane