Revision 14172
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
4100 | 4100 |
WHEN NOT require THEN str |
4101 | 4101 |
ELSE |
4102 | 4102 |
util.raise('data_exception', 'str does not start with prefix ' |
4103 |
||quote_nullable(prefix)||': '||str)::text
|
|
4103 |
||quote_nullable(prefix)||': '||quote_nullable(str))::text
|
|
4104 | 4104 |
END |
4105 | 4105 |
$$; |
4106 | 4106 |
|
Also available in: Unified diff
bugfix: schemas/util.sql: remove_prefix(): need to use quote_nullable(str) so a NULL str doesn't NULL out the entire message