Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
49 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
begin; | ||
-- Semicolons should be allowed in comments because they are common in prep stmts | ||
create extension index_advisor version '0.2.0' cascade; | ||
NOTICE: installing required extension "hypopg" | ||
select * from index_advisor( | ||
'SELECT concat(schemaname, $1, tablename, $2, policyname) as policy | ||
FROM pg_policies | ||
ORDER BY 1 desc' | ||
); | ||
startup_cost_before | startup_cost_after | total_cost_before | total_cost_after | index_statements | errors | ||
---------------------+--------------------+-------------------+------------------+------------------+--------------------------------------------------- | ||
| | | | {} | {"could not determine data type of parameter $1"} | ||
(1 row) | ||
|
||
rollback; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
begin; | ||
-- Semicolons should be allowed in comments because they are common in prep stmts | ||
create extension index_advisor version '0.2.0' cascade; | ||
|
||
select * from index_advisor( | ||
'SELECT concat(schemaname, $1, tablename, $2, policyname) as policy | ||
FROM pg_policies | ||
ORDER BY 1 desc' | ||
); | ||
|
||
rollback; |