Graham Vickrage writes:
> The documentation says -f enables some nice features such as error messages
> with line numbers. It seems to me that this is half true i.e. it shows me
> error messages, its doesn't however give me the associated line number in
> the script.
Works here:
$ psql -f /etc/sysctl.conf
psql:/etc/sysctl.conf:8: ERROR: parser: parse error at or near "#"
It looks to me like you are using an older psql, perhaps from a previous
installation.
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/