Perhttps://www.postgresql.org/message-id/3482022.1728839631%40sss.pgh.pa.us
It's encouraged to include parser_errposition while adding``ereport(ERROR,`` in src/backend/parser/gram.y.