diff --git a/internal/sqladapter/testing/adapter.go.tpl b/internal/sqladapter/testing/adapter.go.tpl
index 522f8aae9c508b653896e6c074f4f30c657ec462..933543a61585b372bdaf44aac8e1d79414e1bc3e 100644
--- a/internal/sqladapter/testing/adapter.go.tpl
+++ b/internal/sqladapter/testing/adapter.go.tpl
@@ -1115,7 +1115,7 @@ func TestBatchInsert(t *testing.T) {
 }
 
 func TestBatchInsertReturningKeys(t *testing.T) {
-	if Adapter == "ql" {
+	if Adapter != "postgresql" {
 		t.Skip("Currently not supported.")
 	}