Skip to content

Update postgresql_type.go: accept "timestamp" as a case #3811

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

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

theAnuragMishra
Copy link
Contributor

the only type accepted as a case for postgres type timestamp is pg_catalog.timestamp. It would be better if timestamp was also accepted directly, just as timestamptz is.

the only type accepted as a case for postgres type `timestamp` is `pg_catalog.timestamp`. It would be better if `timestamp` was also accepted directly, just as `timestamptz` is.
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. 🔧 golang labels Jan 29, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 10, 2025
@kyleconroy kyleconroy merged commit ec9d492 into sqlc-dev:main Feb 10, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files. 🔧 golang
2 participants