TestFallbackExtensionCommands tests DuckDB extension management commands that aren't valid PostgreSQL syntax.
(t *testing.T)
| 102 | // TestFallbackExtensionCommands tests DuckDB extension management commands |
| 103 | // that aren't valid PostgreSQL syntax. |
| 104 | func TestFallbackExtensionCommands(t *testing.T) { |
| 105 | tests := []QueryTest{ |
| 106 | // Note: INSTALL and LOAD may fail if extension isn't available, |
| 107 | // but the point is that the syntax is accepted and passed to DuckDB |
| 108 | { |
| 109 | Name: "select_installed_extensions", |
| 110 | Query: "SELECT extension_name, installed FROM duckdb_extensions() WHERE installed = true LIMIT 5", |
| 111 | DuckgresOnly: true, |
| 112 | }, |
| 113 | } |
| 114 | runQueryTests(t, tests) |
| 115 | } |
| 116 | |
| 117 | // TestFallbackComplexDuckDBSyntax tests more complex DuckDB-specific syntax |
| 118 | func TestFallbackComplexDuckDBSyntax(t *testing.T) { |
nothing calls this directly
no test coverage detected