pg_query is error -> select category_cd, kodawari_cd, category_name, kodawari_name from m_kodawari where (trader_cd is null or trader_cd='112') and shubetu_cd in () group by category_cd, kodawari_cd, category_name, kodawari_name order by category_cd, kodawari_cd