PgDAC
Holds the error cursor position.
EPgError
property Position: integer;
The Position property holds the error cursor position as 1-based index in the original query string. The position is measured in characters.