Re: Unable to add a new column to a table named "in" (look like a bug ...) - Mailing list pgsql-general

From Adam Rich
Subject Re: Unable to add a new column to a table named "in" (look like a bug ...)
Date
Msg-id 01d601c8a095$77a7dc40$66f794c0$@r@sbcglobal.net
Whole thread Raw
In response to Unable to add a new column to a table named "in" (look like a bug ...)  ("David Gagnon" <david.gagnon@cesart.com>)
Responses Re: Unable to add a new column to a table named "in" (look like a bug ...)  ("David Gagnon" <david.gagnon@cesart.com>)
List pgsql-general
> Could you just have a look to the output below?  I try to add a column
> to a
> table named "in" (I know "in" is a reserved keyword but the table
> exists and
> I cannot change it).  Postgresql complains that the column already
> exist but
> it didn't.  Am I doing something wrong ?

Try:  ALTER TABLE "in" add column INDESCS VARCHAR[];

(note the double quotes and lower-case "in")



pgsql-general by date:

Previous
From: "David Gagnon"
Date:
Subject: Unable to add a new column to a table named "in" (look like a bug ...)
Next
From: "David Gagnon"
Date:
Subject: Re: Unable to add a new column to a table named "in" (look like a bug ...)