Return-Path: Delivered-To: apmail-db-ddlutils-dev-archive@www.apache.org Received: (qmail 12952 invoked from network); 21 Jul 2006 20:19:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Jul 2006 20:19:33 -0000 Received: (qmail 34338 invoked by uid 500); 21 Jul 2006 20:19:33 -0000 Delivered-To: apmail-db-ddlutils-dev-archive@db.apache.org Received: (qmail 34317 invoked by uid 500); 21 Jul 2006 20:19:33 -0000 Mailing-List: contact ddlutils-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-dev@db.apache.org Delivered-To: mailing list ddlutils-dev@db.apache.org Received: (qmail 34306 invoked by uid 99); 21 Jul 2006 20:19:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 13:19:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 13:19:32 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E3E78410017 for ; Fri, 21 Jul 2006 20:17:18 +0000 (GMT) Message-ID: <27247780.1153513038931.JavaMail.jira@brutus> Date: Fri, 21 Jul 2006 13:17:18 -0700 (PDT) From: "Niklas Ekman (JIRA)" To: ddlutils-dev@db.apache.org Subject: [jira] Updated: (DDLUTILS-118) Modifying columns generates wrong SQL statement In-Reply-To: <8910836.1153513035762.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DDLUTILS-118?page=all ] Niklas Ekman updated DDLUTILS-118: ---------------------------------- Description: When changing a column size the following SQL statement is generated: ALTER TABLE testtable MODIFY test VARCHAR(100) But according to the PostgreSQL manual it should look like ALTER TABLE testtable ALTER COLUMN test TYPE VARCHAR(111) was: When changing a column size the following SQL statement is generated: ALTER TABLE testtable MODIFY test VARCHAR(100) But according to the PostgreSQL manual it should look like ALTER TABLE fields ALTER COLUMN test TYPE VARCHAR(111) > Modifying columns generates wrong SQL statement > ----------------------------------------------- > > Key: DDLUTILS-118 > URL: http://issues.apache.org/jira/browse/DDLUTILS-118 > Project: DdlUtils > Issue Type: Bug > Components: Core - PostgreSql > Environment: PostgreSQL Database Server 8.1, Windows XP SP2, JDBC driver version 8.1-407 JDBC3 > Reporter: Niklas Ekman > Assigned To: Thomas Dudziak > Priority: Minor > > When changing a column size the following SQL statement is generated: > ALTER TABLE testtable MODIFY test VARCHAR(100) > But according to the PostgreSQL manual it should look like > ALTER TABLE testtable ALTER COLUMN test TYPE VARCHAR(111) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira