-
Notifications
You must be signed in to change notification settings - Fork 97
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
PG to PG: TSTZRange and JSONB #1687
Conversation
What's the motivation for this? PG<>PG should use PG type system to have this accuracy & more. This direction with qvalue is pulled both towards being a common denominator format & a union of everything intersected with postgres. In this case it goes further, supporting distinctions which are only meaningful to postgres. At that point you might as well just be passing pgtype values around Ideally range types would be generalized |
@@ -108,6 +110,8 @@ func (c *PostgresConnector) postgresOIDToQValueKind(recvOID uint32) qvalue.QValu | |||
return qvalue.QValueKindArrayString | |||
case pgtype.IntervalOID: | |||
return qvalue.QValueKindInterval | |||
case pgtype.TstzrangeOID: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should also handle tsrange at least
#1733 has merged, making this obsolete |
PG to PG CDC:
Functionally tested