I have a PL/pgSQL function (triggering when I UPDATE a row) that includes this statement:
IF NEW IS NOT DISTINCT FROM OLD THEN
RETURN OLD;
END IF;
Is there any way I can exclude a particular column from the IS DISTINCT FROM comparison?
I have a PL/pgSQL function (triggering when I UPDATE a row) that includes this statement:
IF NEW IS NOT DISTINCT FROM OLD THEN
RETURN OLD;
END IF;
Is there any way I can exclude a particular column from the IS DISTINCT FROM comparison?