Project

General

Profile

« Previous | Next » 

Revision 14173

bugfix: schemas/util.sql: remove_suffix(): need to use quote_nullable(str) so a NULL str doesn't NULL out the entire message

View differences:

trunk/schemas/util.sql
4118 4118
WHEN NOT require THEN str
4119 4119
ELSE
4120 4120
	util.raise('data_exception', 'str does not end with suffix '
4121
	||quote_nullable(suffix)||': '||str)::text
4121
	||quote_nullable(suffix)||': '||quote_nullable(str))::text
4122 4122
END
4123 4123
$$;
4124 4124

  

Also available in: Unified diff