BUG #8154: pg_dump throws error beacause of field called "new".

From: willybas(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #8154: pg_dump throws error beacause of field called "new".
Date: 2013-05-13 14:00:16
Message-ID: E1UbtIW-0006k7-Mw@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 8154
Logged by: Willy-Bas Loos
Email address: willybas(at)gmail(dot)com
PostgreSQL version: 9.1.9
Operating system: ubuntu 12.04 server
Description:

pg_dump (PostgreSQL) 9.1.9 ends in an error when backing up my db, which
contains a field called "new".

Here's the raised message:
pg_dump: SQL command failed
pg_dump: Error message from server: ERROR: syntax error at or near "new"
LINE 1: ...ag, beginmaand, einddag, eindmaand, fusieafstand, new, opmer...
^
pg_dump: The command was: COPY lsb.zsoorten (id, euringchar, begindag,
beginmaand, einddag, eindmaand, fusieafstand, new, opmerkingen, euring) TO
stdout;

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2013-05-13 14:09:18 Re: Inconsistency between TO_CHAR() and TO_NUMBER()
Previous Message marc 2013-05-13 13:30:24 BUG #8153: check constraint results in a lot of casts