-
Notifications
You must be signed in to change notification settings - Fork 642
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added all supported index storage parameters while creating an index. #…
…6374 Implemented changes according to review comments
- Loading branch information
1 parent
bccdb13
commit 180502a
Showing
35 changed files
with
742 additions
and
33 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
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
13 changes: 13 additions & 0 deletions
13
...ps/servers/databases/schemas/tables/indexes/tests/13_plus/create_btree_asc_null_first.sql
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,13 @@ | ||
-- Index: Idx_$%{}[]()&*^!@"'`\/# | ||
|
||
-- DROP INDEX IF EXISTS public."Idx_$%{}[]()&*^!@""'`\/#"; | ||
|
||
CREATE UNIQUE INDEX IF NOT EXISTS "Idx_$%{}[]()&*^!@""'`\/#" | ||
ON public.test_table_for_indexes USING btree | ||
(id ASC NULLS FIRST, name COLLATE pg_catalog."POSIX" text_pattern_ops ASC NULLS FIRST) | ||
WITH (fillfactor=10, deduplicate_items=False) | ||
TABLESPACE pg_default | ||
WHERE id < 100; | ||
|
||
COMMENT ON INDEX public."Idx_$%{}[]()&*^!@""'`\/#" | ||
IS 'Test Comment'; |
9 changes: 9 additions & 0 deletions
9
...rvers/databases/schemas/tables/indexes/tests/13_plus/create_btree_asc_null_first_msql.sql
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,9 @@ | ||
CREATE UNIQUE INDEX "Idx_$%{}[]()&*^!@""'`\/#" | ||
ON public.test_table_for_indexes USING btree | ||
(id ASC NULLS FIRST, name COLLATE pg_catalog."POSIX" text_pattern_ops ASC NULLS FIRST) | ||
WITH (fillfactor=10, deduplicate_items=False) | ||
TABLESPACE pg_default | ||
WHERE id < 100; | ||
|
||
COMMENT ON INDEX public."Idx_$%{}[]()&*^!@""'`\/#" | ||
IS 'Test Comment'; |
13 changes: 13 additions & 0 deletions
13
...ups/servers/databases/schemas/tables/indexes/tests/13_plus/create_btree_asc_null_last.sql
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,13 @@ | ||
-- Index: Idx_$%{}[]()&*^!@"'`\/# | ||
|
||
-- DROP INDEX IF EXISTS public."Idx_$%{}[]()&*^!@""'`\/#"; | ||
|
||
CREATE UNIQUE INDEX IF NOT EXISTS "Idx_$%{}[]()&*^!@""'`\/#" | ||
ON public.test_table_for_indexes USING btree | ||
(id ASC NULLS LAST, name COLLATE pg_catalog."POSIX" text_pattern_ops ASC NULLS LAST) | ||
WITH (fillfactor=10, deduplicate_items=False) | ||
TABLESPACE pg_default | ||
WHERE id < 100; | ||
|
||
COMMENT ON INDEX public."Idx_$%{}[]()&*^!@""'`\/#" | ||
IS 'Test Comment'; |
9 changes: 9 additions & 0 deletions
9
...ervers/databases/schemas/tables/indexes/tests/13_plus/create_btree_asc_null_last_msql.sql
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,9 @@ | ||
CREATE UNIQUE INDEX "Idx_$%{}[]()&*^!@""'`\/#" | ||
ON public.test_table_for_indexes USING btree | ||
(id ASC NULLS LAST, name COLLATE pg_catalog."POSIX" text_pattern_ops ASC NULLS LAST) | ||
WITH (fillfactor=10, deduplicate_items=False) | ||
TABLESPACE pg_default | ||
WHERE id < 100; | ||
|
||
COMMENT ON INDEX public."Idx_$%{}[]()&*^!@""'`\/#" | ||
IS 'Test Comment'; |
13 changes: 13 additions & 0 deletions
13
...ps/servers/databases/schemas/tables/indexes/tests/13_plus/create_btree_desc_null_last.sql
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,13 @@ | ||
-- Index: Idx_$%{}[]()&*^!@"'`\/# | ||
|
||
-- DROP INDEX IF EXISTS public."Idx_$%{}[]()&*^!@""'`\/#"; | ||
|
||
CREATE UNIQUE INDEX IF NOT EXISTS "Idx_$%{}[]()&*^!@""'`\/#" | ||
ON public.test_table_for_indexes USING btree | ||
(id DESC NULLS LAST, name COLLATE pg_catalog."POSIX" text_pattern_ops DESC NULLS LAST) | ||
WITH (fillfactor=10, deduplicate_items=False) | ||
TABLESPACE pg_default | ||
WHERE id < 100; | ||
|
||
COMMENT ON INDEX public."Idx_$%{}[]()&*^!@""'`\/#" | ||
IS 'Test Comment'; |
9 changes: 9 additions & 0 deletions
9
...rvers/databases/schemas/tables/indexes/tests/13_plus/create_btree_desc_null_last_msql.sql
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,9 @@ | ||
CREATE UNIQUE INDEX "Idx_$%{}[]()&*^!@""'`\/#" | ||
ON public.test_table_for_indexes USING btree | ||
(id DESC NULLS LAST, name COLLATE pg_catalog."POSIX" text_pattern_ops DESC NULLS LAST) | ||
WITH (fillfactor=10, deduplicate_items=False) | ||
TABLESPACE pg_default | ||
WHERE id < 100; | ||
|
||
COMMENT ON INDEX public."Idx_$%{}[]()&*^!@""'`\/#" | ||
IS 'Test Comment'; |
Oops, something went wrong.