Mark _CDB_Table_Exists() as PARALLEL UNSAFE

As pointed out by Algunenano, PL/pgSQL function which establishes an
EXCEPTION block to catch errors must be qualified with it.
This commit is contained in:
Rafa de la Torre 2018-07-03 15:26:48 +02:00
parent 7437a9686b
commit af142306aa

View File

@ -175,4 +175,4 @@ EXCEPTION
WHEN invalid_schema_name OR undefined_table THEN
RETURN false;
END;
$$ LANGUAGE PLPGSQL VOLATILE PARALLEL SAFE;
$$ LANGUAGE PLPGSQL VOLATILE PARALLEL UNSAFE;