Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Specify which db_type should be used in overrides #1427

Merged
merged 1 commit into from
Feb 10, 2022

Conversation

egtann
Copy link
Contributor

@egtann egtann commented Feb 10, 2022

The docs link to PG types to be used in overrides, but those include unusable options. For instance, db_type: smallint doesn't work, whereas db_type: pg_catalog.int2 does.

This adds a note to tell the reader to use the pg_catalog types when available.

@egtann egtann changed the title fix(config): Fix override of int16 types docs: Specify which db_type should be used in overrides Feb 10, 2022
@kyleconroy kyleconroy merged commit fab641e into sqlc-dev:main Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants