Skip to content

Commit ef40b6f

Browse files
committed
Re-add the test for SELECT tag; I was wrong in my assumption.
Postgres generally does not emit a SELECT tag after a SELECT query, but it does emit that tag after a CREATE TABLE x AS SELECT query. Example: postgres=# create table t as select 1; SELECT 1
1 parent 23b29c9 commit ef40b6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/unit/client/result-metadata-tests.js

+1
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ testForTag("INSERT 0 3", check(0, 3, "INSERT"));
3636
testForTag("INSERT 841 1", check(841, 1, "INSERT"));
3737
testForTag("DELETE 10", check(null, 10, "DELETE"));
3838
testForTag("UPDATE 11", check(null, 11, "UPDATE"));
39+
testForTag("SELECT 20", check(null, 20, "SELECT"));

0 commit comments

Comments
 (0)