Return-Path: Delivered-To: apmail-db-ddlutils-dev-archive@www.apache.org Received: (qmail 12832 invoked from network); 21 Jul 2006 20:19:30 -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:30 -0000 Received: (qmail 34140 invoked by uid 500); 21 Jul 2006 20:19:30 -0000 Delivered-To: apmail-db-ddlutils-dev-archive@db.apache.org Received: (qmail 34111 invoked by uid 500); 21 Jul 2006 20:19:30 -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 34047 invoked by uid 99); 21 Jul 2006 20:19:29 -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:29 -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:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BAF41410010 for ; Fri, 21 Jul 2006 20:17:15 +0000 (GMT) Message-ID: <8910836.1153513035762.JavaMail.jira@brutus> Date: Fri, 21 Jul 2006 13:17:15 -0700 (PDT) From: "Niklas Ekman (JIRA)" To: ddlutils-dev@db.apache.org Subject: [jira] Created: (DDLUTILS-118) Modifying columns generates wrong SQL statement 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 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 fields 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