pg-boss 10.0.0-beta15 → 10.0.0-beta16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/plans.js +1 -1
package/package.json
CHANGED
package/src/plans.js
CHANGED
|
@@ -224,7 +224,7 @@ function getPartitionFunction (schema) {
|
|
|
224
224
|
return `
|
|
225
225
|
CREATE FUNCTION ${schema}.get_partition(queue_name text, out name text) AS
|
|
226
226
|
$$
|
|
227
|
-
SELECT 'j' || left(regexp_replace(queue_name, '\\W', '', 'g'),10) || left(encode(sha224(queue_name::bytea), 'hex'),10);
|
|
227
|
+
SELECT 'j' || lower(left(regexp_replace(queue_name, '\\W', '', 'g'),10)) || left(encode(sha224(queue_name::bytea), 'hex'),10);
|
|
228
228
|
$$
|
|
229
229
|
LANGUAGE SQL
|
|
230
230
|
IMMUTABLE
|