Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W0zlf-0006Di-MR for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Jan 2014 20:30:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W0zlf-0003oq-1Q for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Jan 2014 20:30:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W0zle-0003ok-F4 for pgsql-bugs@postgresql.org; Wed, 08 Jan 2014 20:30:22 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W0zla-0007zw-RP for pgsql-bugs@postgresql.org; Wed, 08 Jan 2014 20:30:22 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1W0zlZ-0001ke-1H for pgsql-bugs@postgresql.org; Wed, 08 Jan 2014 12:30:17 -0800 Date: Wed, 8 Jan 2014 12:30:17 -0800 (PST) From: David Johnston To: pgsql-bugs@postgresql.org Message-ID: <1389213017029-5785916.post@n5.nabble.com> In-Reply-To: References: Subject: Re: BUG #8749: Error Size Integer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 1.8 (+) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org leandroeiro wrote > The following bug has been logged on the website: > > Bug reference: 8749 > Logged by: Leandro > Email address: > leandroeiro@ > PostgreSQL version: 9.1.0 > Operating system: Ubuntu > Description: > > I tried to change the Integer size and appears this: > > > ERROR: syntax error at or near "(" > LINE 1: ...jgovce_jevents_vevent" ALTER COLUMN "ev_id" TYPE integer(12) > ^ > > > No bloco: > ALTER TABLE "public"."jgovce_jevents_vevent" ALTER COLUMN "ev_id" TYPE > integer(12) You cannot "change the Interger size" using "(n)" notation.