Postgresql Function Select Into Variable Mysql Installer