Skip to content

Commit

Permalink
pgtest: make desc.pt re-runnable
Browse files Browse the repository at this point in the history
  • Loading branch information
maddyblue committed Feb 15, 2022
1 parent 84b22f4 commit 59b9547
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/pgtest/desc.pt
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Test that prepared statement describe works if the underlying SQL object is
# replaced.

send
Query {"query": "DROP TABLE IF EXISTS t"}
----

until ignore=NoticeResponse
ReadyForQuery
----
CommandComplete {"tag":"DROP TABLE"}
ReadyForQuery {"status":"I"}

send
Query {"query": "CREATE TABLE t (a INT)"}
Parse {"name": "q", "query": "SELECT * FROM t"}
Expand Down

0 comments on commit 59b9547

Please sign in to comment.