equal
deleted
inserted
replaced
596 WHERE gid = did |
596 WHERE gid = did |
597 AND address = localpart |
597 AND address = localpart |
598 LOOP |
598 LOOP |
599 RETURN NEXT record; |
599 RETURN NEXT record; |
600 END LOOP; |
600 END LOOP; |
|
601 IF NOT FOUND THEN |
|
602 FOR record IN |
|
603 SELECT recipient, destination |
|
604 FROM catchall |
|
605 WHERE gid = did |
|
606 LOOP |
|
607 RETURN NEXT record; |
|
608 END LOOP; |
|
609 END IF; |
601 RETURN; |
610 RETURN; |
602 END; |
611 END; |
603 $$ LANGUAGE plpgsql STABLE |
612 $$ LANGUAGE plpgsql STABLE |
604 RETURNS NULL ON NULL INPUT |
613 RETURNS NULL ON NULL INPUT |
605 EXTERNAL SECURITY INVOKER; |
614 EXTERNAL SECURITY INVOKER; |