sql update for sai api - pg compatible, saimod_sys_locale pg fix, saimod_sys_log 1h instead of 7d.