bug[TW18967]: Fix sql syntax error for PostgreSQL during db init Change-Id: I24eccd64b0f757ca4c9d525dd243fd5a8d2f1e0d