Postgres Function Select Into Mysql Table Definition