dap initdb error with Redshift: "ERROR - database connection error: unknown type: pg_catalog.json"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2023
03:00 AM
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?