Re: [ADMIN] syntax error for no apparent reason

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <willybas(at)gmail(dot)com>,<pgadmin-support(at)postgresql(dot)org>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: [ADMIN] syntax error for no apparent reason
Date: 2010-12-04 15:01:11
Message-ID: 4CFA0359020000250003828F@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support pgsql-admin

Willy-Bas Loos wrote:

> I've encountered this before, psql gives me a syntax error for no
> clear reason. It's allways on the first character of a sql file.

> The file is in the attachment

hexdump says the first three bytes of that file are:

ef bb bf

http://en.wikipedia.org/wiki/Byte_order_mark

-Kevin

Browse pgadmin-support by date

  From Date Subject
Next Message Conrad Akier 2010-12-07 04:40:05 Restore bug with --no-privileges
Previous Message Guillaume Lelarge 2010-12-04 12:46:15 Re: [ADMIN] syntax error for no apparent reason

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2010-12-04 15:51:03 Re: using bytea data type
Previous Message Guillaume Lelarge 2010-12-04 12:46:15 Re: [ADMIN] syntax error for no apparent reason