Re: [BUGS] BUG #6271: psql -f reporting unexpected syntax errors on first command

2011-10-26 Thread Alvaro Herrera
Excerpts from Shannon's message of miƩ oct 26 01:08:00 -0300 2011: > Given the following 2 line SQL script in a file: > > --- test.sql --- > SHOW client_encoding; > SHOW client_encoding; > > > $ psql -ftest.sql -U postgres template1 > > psql:test.sql:1: ERROR: syntax error at

Re: [BUGS] BUG #6271: psql -f reporting unexpected syntax errors on first command

2011-10-26 Thread Peter Eisentraut
On ons, 2011-10-26 at 04:08 +, Shannon wrote: > The following bug has been logged online: > > Bug reference: 6271 > Logged by: Shannon > Email address: shan...@arc.net.au > PostgreSQL version: 8.4.9 > Operating system: Gentoo Linux 64bit > Description:psql -f repor

[BUGS] BUG #6271: psql -f reporting unexpected syntax errors on first command

2011-10-26 Thread Shannon
The following bug has been logged online: Bug reference: 6271 Logged by: Shannon Email address: shan...@arc.net.au PostgreSQL version: 8.4.9 Operating system: Gentoo Linux 64bit Description:psql -f reporting unexpected syntax errors on first command Details: Given t