-
Notifications
You must be signed in to change notification settings - Fork 180
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 binary COPY encoders and decoders and binary timestamp encoders #511
Commits on Mar 17, 2023
-
It is useful for COPY and not deprecated in that context.
Configuration menu - View commit details
-
Copy full SHA for cff24d0 - Browse repository at this point
Copy the full SHA cff24d0View commit details -
Add binary timestamp encoders:
* PG::BinaryEncoder::TimestampUtc * PG::BinaryEncoder::TimestampLocal * PG::BinaryEncoder::Timestamp
Configuration menu - View commit details
-
Copy full SHA for 69ac30c - Browse repository at this point
Copy the full SHA 69ac30cView commit details
Commits on Mar 24, 2023
-
Add binary COPY encoder and decoder:
* PG::BinaryEncoder::CopyRow * PG::BinaryDecoder::CopyRow
Configuration menu - View commit details
-
Copy full SHA for 4bd81df - Browse repository at this point
Copy the full SHA 4bd81dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03bd178 - Browse repository at this point
Copy the full SHA 03bd178View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd8bdbb - Browse repository at this point
Copy the full SHA fd8bdbbView commit details -
Include BinaryFormatting only once to fix Truffleruby
BinaryFormatting is already included by pg_define_coder() in case of BinaryEncoder::CopyRow. Including BinaryFormatting twice resulted into an endless recursion by the PG::Coder#super call on Truffleruby.
Configuration menu - View commit details
-
Copy full SHA for 8aca50a - Browse repository at this point
Copy the full SHA 8aca50aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 787c7fc - Browse repository at this point
Copy the full SHA 787c7fcView commit details -
Fix BinaryDecoder::CopyRow regarding negative binary lengths
They bypassed input size checks and produced segfaults.
Configuration menu - View commit details
-
Copy full SHA for 1be50d7 - Browse repository at this point
Copy the full SHA 1be50d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1282200 - Browse repository at this point
Copy the full SHA 1282200View commit details -
Configuration menu - View commit details
-
Copy full SHA for e423ab3 - Browse repository at this point
Copy the full SHA e423ab3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0de9cc7 - Browse repository at this point
Copy the full SHA 0de9cc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e23692d - Browse repository at this point
Copy the full SHA e23692dView commit details -
Add special case of infinity/-infinity to binary timestamp encoder
And enable text format in addition to binary in specs for comparison.
Configuration menu - View commit details
-
Copy full SHA for bae9a50 - Browse repository at this point
Copy the full SHA bae9a50View commit details