Skip to content

Conversation

ritsu2891
Copy link
Contributor

Amazon Redshift does not support PostgreSQL enum types:
https://docs.aws.amazon.com/redshift/latest/dg/c_unsupported-postgresql-datatypes.html

When running tbls against Redshift, the enum type query causes an error.

ERROR: relation "pg_enum" does not exist

This PR skips fetching enum types when the driver is Redshift, allowing documentation generation to proceed without failure.

@k1LoW k1LoW added the bug Something isn't working label Jul 1, 2025
@k1LoW
Copy link
Owner

k1LoW commented Jul 1, 2025

@ritsu2891 Thank you!!!! LGTM!

@k1LoW k1LoW merged commit a466c86 into k1LoW:main Jul 1, 2025
2 of 3 checks passed
@github-actions github-actions bot mentioned this pull request Jul 1, 2025
@ritsu2891 ritsu2891 deleted the fix/redshift-does-not-support-enum branch July 2, 2025 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants