Re: psql -f option

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Graham Vickrage <graham(at)digitalplanit(dot)com>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: psql -f option
Date: 2001-01-04 23:14:29
Message-ID: Pine.LNX.4.30.0101050013270.1245-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Thomas SMETS 2001-01-05 00:31:26 Casting
Previous Message Oliver Elphick 2001-01-04 22:40:50 Re: psql -f option