TestSessionShowCommands tests SHOW command handling
(t *testing.T)
| 158 | |
| 159 | // TestSessionShowCommands tests SHOW command handling |
| 160 | func TestSessionShowCommands(t *testing.T) { |
| 161 | tests := []QueryTest{ |
| 162 | { |
| 163 | Name: "show_search_path", |
| 164 | Query: "SHOW search_path", |
| 165 | DuckgresOnly: true, |
| 166 | }, |
| 167 | { |
| 168 | Name: "show_client_encoding", |
| 169 | Query: "SHOW client_encoding", |
| 170 | DuckgresOnly: true, |
| 171 | }, |
| 172 | { |
| 173 | Name: "show_timezone", |
| 174 | Query: "SHOW timezone", |
| 175 | DuckgresOnly: true, |
| 176 | }, |
| 177 | { |
| 178 | Name: "show_datestyle", |
| 179 | Query: "SHOW datestyle", |
| 180 | DuckgresOnly: true, |
| 181 | }, |
| 182 | { |
| 183 | Name: "show_server_version", |
| 184 | Query: "SHOW server_version", |
| 185 | DuckgresOnly: true, |
| 186 | }, |
| 187 | { |
| 188 | Name: "show_server_encoding", |
| 189 | Query: "SHOW server_encoding", |
| 190 | DuckgresOnly: true, |
| 191 | }, |
| 192 | { |
| 193 | Name: "show_standard_conforming_strings", |
| 194 | Query: "SHOW standard_conforming_strings", |
| 195 | DuckgresOnly: true, |
| 196 | }, |
| 197 | { |
| 198 | Name: "show_transaction_isolation", |
| 199 | Query: "SHOW transaction_isolation", |
| 200 | DuckgresOnly: true, |
| 201 | }, |
| 202 | } |
| 203 | runQueryTests(t, tests) |
| 204 | } |
| 205 | |
| 206 | // TestSessionTransactionCommands tests transaction control commands |
| 207 | func TestSessionTransactionCommands(t *testing.T) { |
nothing calls this directly
no test coverage detected