I am trying to create custom data type as below
CREATE TYPE _kitdatatype (
INPUT = array_in,
OUTPUT = array_out,
RECEIVE = array_recv,
SEND = array_send,
ANALYZE = array_typanalyze,
ALIGNMENT = 4,
STORAGE = any,
CATEGORY = A,
ELEMENT = kitdatatype,
DELIMITER = ',');
The database instance is deployed on AWS and I am connecting Postgres user but getting below error.
SQL Error [42501]: ERROR: must be superuser to create a base type