Implement pg_event_trigger_table_rewrite_oid().

Provide a full example on how to use the new Event Trigger to implement
a production ready table rewrite policy.