fixed postgresql date in su command