message-db-temp-0.0.1.0: official-message-db-upstream/database/functions/is-category.sql
CREATE OR REPLACE FUNCTION message_store.is_category(
stream_name varchar
)
RETURNS boolean
AS $$
BEGIN
IF NOT STRPOS(is_category.stream_name, '-') = 0 THEN
RETURN FALSE;
END IF;
RETURN TRUE;
END;
$$ LANGUAGE plpgsql
IMMUTABLE;