dap initdb error with Redshift: "ERROR - database connection error: unknown type: pg_catalog.json"

prj_site_commun
Community Participant

I'm using this command:

dap initdb --connection-string postgresql://USER:PASSWORD@HOST:PORT/DB --namespace NS --table access_tokens

But I get this error (it's the same for any table):

2023-12-14 04:55:37,658 - ERROR - database connection error: unknown type: pg_catalog.json

I think this is looking for a data type called "json" in pg_catalog.pg_type and complaining that it's not there.  Is that right?  I've looked at pg_type myself and verified that there is no json entry.  Are there any special options needed in Redshift to enable the json type?

Labels (3)
0 Likes