Skip to content

Commit

Permalink
Add Interval binary encoding test (MaterializeInc#10590)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkosh44 authored and Andi Wang committed Apr 11, 2022
1 parent bff5350 commit 2d4457e
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 2d4457e

Please sign in to comment.