-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure that pg_qualstats_index_advisor always returns arrays
Thanks to github user romanstingler for the report.
- Loading branch information
Showing
5 changed files
with
28 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ | |
* github user suprimex | ||
* github user RekGRpth | ||
* Zhihong Yu | ||
* github user romanstingler |
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 |
---|---|---|
|
@@ -9,8 +9,8 @@ CREATE OR REPLACE FUNCTION @[email protected]_qualstats_index_advisor ( | |
AS $_$ | ||
DECLARE | ||
v_processed bigint[] = '{}'; | ||
v_indexes json[]; | ||
v_unoptimised json[]; | ||
v_indexes json[] = '{}'; | ||
v_unoptimised json[] = '{}'; | ||
|
||
rec record; | ||
v_nb_processed integer = 1; | ||
|
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 |
---|---|---|
|
@@ -448,8 +448,8 @@ CREATE OR REPLACE FUNCTION @[email protected]_qualstats_index_advisor ( | |
AS $_$ | ||
DECLARE | ||
v_processed bigint[] = '{}'; | ||
v_indexes json[]; | ||
v_unoptimised json[]; | ||
v_indexes json[] = '{}'; | ||
v_unoptimised json[] = '{}'; | ||
|
||
rec record; | ||
v_nb_processed integer = 1; | ||
|
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