Displaying 1 result from an estimated 1 matches for "clonequota2".
Did you mean:
clone_quota2
2019 Sep 03
0
Quota count and clone questions
...UPDATE quota2 SET bytes = NEW.bytes,
messages = NEW.messages
WHERE username = NEW.username;
IF found THEN
RETURN NULL;
ELSE
RETURN NEW;
END IF;
END;
$$;
And then:
CREATE TRIGGER clonequota2 BEFORE INSERT ON quota2 FOR EACH ROW EXECUTE PROCEDURE public.clone_quota2() ;
And finally just put:
quota_clone_dict = proxy::sqlquota
Hope this helps somebody trying to figure out this too.
> I figured out that I can't just drop maintaining quota2 if I want
> postfixadmin to repor...