On Wed, May 4, 2016 at 8:58 AM, Marc Mamin <m.ma...@intershop.de> wrote:
> select 'x' sql; > > ERROR: syntax error at or near "sql" > LINE 1: select 'x' sql; It's likely that you already know this, but for the benefit of anyone finding the thread who doesn't -- you can avoid this sort of error by either inserting the optional AS keyword or quoting the column label: select 'x' as sql; or: select 'x' "sql"; -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers