Skip to content

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

Merged
kyleconroy merged 1 commit intosqlc-dev:mainfrom
egtann:override-int16
Feb 10, 2022
Merged

docs: Specify which db_type should be used in overrides#1427
kyleconroy merged 1 commit intosqlc-dev:mainfrom
egtann:override-int16

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