marc@oscar.eng.cv.net (Marc Spitzer) writes:
> I have 3 tables: pings, curr_state, ping_log and here is what I want
> to happen:
> when I insert a row into pings it checks to see if the ping was
> sucessful or not.
Anything that's most naturally described as driven by insert (or update
or delete) of individual rows is best done as a trigger, IMHO.
regards, tom lane