-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql: time datatype #16490
Comments
Here's a sample real-world table that uses the Note that postgres has two time types, |
After chatting with @jordanlewis, this seems like a good starter project for Solon. I'll assign to him once he's added to the GitHub org. |
I suggest that we avoid implementing |
This is an implementation of the PostgreSQL TIME type, which represents time of day (no date). We store this as an int64 representing microseconds since midnight. Note that this commit does not attempt to support any new time formats beyond what we already support in the time portion of TIMESTAMP. This means that many formats which Postgres accepts (`04:05`, `040506`, `04:05 PM`, `allballs`) are not yet handled. We also do not support TIME WITH TIME ZONE, which the Postgres docs describe as having "questionable usefulness." Fixes cockroachdb#16490. Release note: Added support for TIME data type.
🎉 |
@couchand you have been randomly picked to QA this feature. QA is an independent evaluation of the feature through the eyes of a user. It's probably best that you do not interview the developers involved in creating this feature, nor look at the implementation. Thanks! |
Postgres supports a
time
datatype, which represents a time of day without a date. Hibernate exposes it, it's not clear how much demand there is for it, however.Postgres docs on
time
The text was updated successfully, but these errors were encountered: