Project

General

Profile

« Previous | Next » 

Revision 12537

schemas/util.sql: raise_error_notice(): raise a WARNING instead because this is for errors, and rename to raise_error_warning() to match

View differences:

trunk/schemas/vegbien.sql
2137 2137
	IF errors_ct > 0 THEN
2138 2138
		-- can't raise exception because this would roll back the transaction
2139 2139
		PERFORM util.raise_error_warning(errors_ct
2140
			||' queries had errors. please see the NOTICEs for details.');
2140
			||' queries had errors. please see the WARNINGs for details.');
2141 2141
	END IF;
2142 2142
END;
2143 2143
$$;

Also available in: Unified diff