forked from pgadmin-org/pgadmin4
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added compression method option while creating a column. pgadmin-org#…
- Loading branch information
1 parent
d69b428
commit ffec77d
Showing
52 changed files
with
2,939 additions
and
11 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
2 changes: 2 additions & 0 deletions
2
...s/servers/databases/schemas/tables/columns/tests/pg/14_plus/alter_column_compression.msql
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,2 @@ | ||
ALTER TABLE IF EXISTS testschema."table_3_$%{}[]()&*^!@""'`\/#" | ||
ALTER COLUMN "col_comp_$%{}[]()&*^!@""'`\/#" SET COMPRESSION lz4; |
9 changes: 9 additions & 0 deletions
9
...ps/servers/databases/schemas/tables/columns/tests/pg/14_plus/alter_column_compression.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 @@ | ||
-- Column: testschema."table_3_$%{}[]()&*^!@""'`\/#"."col_comp_$%{}[]()&*^!@""'`\/#" | ||
|
||
-- ALTER TABLE IF EXISTS testschema."table_3_$%{}[]()&*^!@""'`\/#" DROP COLUMN IF EXISTS "col_comp_$%{}[]()&*^!@""'`\/#"; | ||
|
||
ALTER TABLE IF EXISTS testschema."table_3_$%{}[]()&*^!@""'`\/#" | ||
ADD COLUMN "col_comp_$%{}[]()&*^!@""'`\/#" character varying COLLATE pg_catalog."default" NOT NULL DEFAULT 1; | ||
|
||
ALTER TABLE IF EXISTS testschema."table_3_$%{}[]()&*^!@""'`\/#" | ||
ALTER COLUMN "col_comp_$%{}[]()&*^!@""'`\/#" SET COMPRESSION lz4; |
5 changes: 5 additions & 0 deletions
5
..._groups/servers/databases/schemas/tables/columns/tests/pg/14_plus/create_column_comp.msql
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,5 @@ | ||
ALTER TABLE IF EXISTS testschema."table_3_$%{}[]()&*^!@""'`\/#" | ||
ADD COLUMN "col_comp_$%{}[]()&*^!@""'`\/#" character varying NOT NULL DEFAULT 1; | ||
|
||
ALTER TABLE IF EXISTS testschema."table_3_$%{}[]()&*^!@""'`\/#" | ||
ALTER COLUMN "col_comp_$%{}[]()&*^!@""'`\/#" SET COMPRESSION pglz; |
9 changes: 9 additions & 0 deletions
9
...r_groups/servers/databases/schemas/tables/columns/tests/pg/14_plus/create_column_comp.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 @@ | ||
-- Column: testschema."table_3_$%{}[]()&*^!@""'`\/#"."col_comp_$%{}[]()&*^!@""'`\/#" | ||
|
||
-- ALTER TABLE IF EXISTS testschema."table_3_$%{}[]()&*^!@""'`\/#" DROP COLUMN IF EXISTS "col_comp_$%{}[]()&*^!@""'`\/#"; | ||
|
||
ALTER TABLE IF EXISTS testschema."table_3_$%{}[]()&*^!@""'`\/#" | ||
ADD COLUMN "col_comp_$%{}[]()&*^!@""'`\/#" character varying COLLATE pg_catalog."default" NOT NULL DEFAULT 1; | ||
|
||
ALTER TABLE IF EXISTS testschema."table_3_$%{}[]()&*^!@""'`\/#" | ||
ALTER COLUMN "col_comp_$%{}[]()&*^!@""'`\/#" SET COMPRESSION pglz; |
Oops, something went wrong.