Skip to content

Commit

Permalink
Add Interval binary encoding test (MaterializeInc#10590)
Browse files Browse the repository at this point in the history
Closes #4926.
  • Loading branch information
jkosh44 authored Feb 10, 2022
1 parent 7695633 commit b769f4a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/pgtest/binary.pt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Test binary encodings

send
Parse {"query": "SELECT INTERVAL '2147483647 days 2147483647 hours 59 minutes 59.999999 seconds'"}
Bind {"result_formats": [1]}
Execute
Sync
----

until
ReadyForQuery
----
ParseComplete
BindComplete
DataRow {"fields":["[107, 73, 209, 255, 255, 255, 255, 255, 127, 255, 255, 255, 0, 0, 0, 0]"]}
CommandComplete {"tag":"SELECT 1"}
ReadyForQuery {"status":"I"}

0 comments on commit b769f4a

Please sign in to comment.