Re: psql -f option - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: psql -f option
Date
Msg-id Pine.LNX.4.30.0101050013270.1245-100000@peter.localdomain
Whole thread Raw
In response to psql -f option  ("Graham Vickrage" <graham@digitalplanit.com>)
List pgsql-sql
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/



pgsql-sql by date:

Previous
From: "Oliver Elphick"
Date:
Subject: Re: psql -f option
Next
From: Thomas SMETS
Date:
Subject: Casting