GII Error AWS Redshift postgres

Hi guys, I’m connecting to redshift Yii2 version Postgres, using models to generate GII generates errors to query the schema.

first error

Caused by: PDOException

SQLSTATE[42703]: Undefined column: 7 ERROR: column t.typcategory does not exist

first error:

When editing file \ vendor \ yiisoft \ yii2 \ db \ pgsql \ Schema.php
replacing t.typcategory with t.typtype

second error:
Send me the following error
Caused by: PDOException
SQLSTATE [42P01]: Undefined table: 7 ERROR: relation “pg_enum” does not exist

in /vendor/yiisoft/yii2/db/Command.php at line 1290

Any idea?


Did you solve this problem? I’m having the same issue…