-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add missing objects for 5.2 update (#719)
- Loading branch information
Showing
5 changed files
with
1,406 additions
and
5 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "pg_partman", | ||
"abstract": "Extension to manage partitioned tables by time or ID", | ||
"version": "5.2.1", | ||
"version": "5.2.2", | ||
"maintainer": [ | ||
"Keith Fiske <[email protected]>" | ||
], | ||
|
@@ -20,9 +20,9 @@ | |
}, | ||
"provides": { | ||
"pg_partman": { | ||
"file": "sql/pg_partman--5.2.1.sql", | ||
"file": "sql/pg_partman--5.2.2.sql", | ||
"docfile": "doc/pg_partman.md", | ||
"version": "5.2.1", | ||
"version": "5.2.2", | ||
"abstract": "Extension to manage partitioned tables by time or ID" | ||
} | ||
}, | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
default_version = '5.2.1' | ||
default_version = '5.2.2' | ||
comment = 'Extension to manage partitioned tables by time or ID' | ||
relocatable = false | ||
superuser = false |
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 |
---|---|---|
|
@@ -129,7 +129,7 @@ SELECT general_type, exact_type INTO v_control_type, v_control_exact_type | |
FROM @[email protected]_control_type(v_parent_schema, v_parent_tablename, p_control); | ||
|
||
IF v_control_type IS NULL THEN | ||
RAISE EXCEPTION 'pg_partman only supports partitioning of data types that are integer, numeric or date/timestamp. Supplied column is of type %', v_control_exact_type; | ||
RAISE EXCEPTION 'pg_partman only supports partitioning of data types that are integer, numeric, date/timestamp or specially encoded text. Supplied column is of type %', v_control_exact_type; | ||
END IF; | ||
|
||
IF (p_epoch <> 'none' AND v_control_type <> 'id') THEN | ||
|
Oops, something went wrong.