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

Add type mapping for 'pg_sys::TimestampTz' to 'timestamp with time zone' #400

Conversation

JamesGuthrie
Copy link
Contributor

This allows the `pg_sys::TimestampTz' type to be used in function
signatures, providing zero-cost access to the underlying i64 timestamp
of a 'timestamp with time zone' field.

@JamesGuthrie JamesGuthrie force-pushed the jg/type-mapping-pg-sys-timestamptz branch from c8ecf0c to b4d0276 Compare January 25, 2022 16:48
This allows the `pg_sys::TimestampTz' type to be used in function
signatures, providing zero-cost access to the underlying i64 timestamp
of a 'timestamp with time zone' field.
@JamesGuthrie JamesGuthrie force-pushed the jg/type-mapping-pg-sys-timestamptz branch from b4d0276 to 221221f Compare January 25, 2022 16:56
@Hoverbear Hoverbear self-assigned this Jan 25, 2022
@Hoverbear
Copy link
Contributor

Thanks!

@Hoverbear Hoverbear merged commit 787ba4e into pgcentralfoundation:develop Jan 25, 2022
@JamesGuthrie JamesGuthrie deleted the jg/type-mapping-pg-sys-timestamptz branch January 25, 2022 21:07
@Hoverbear Hoverbear mentioned this pull request Feb 9, 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