Return-Path: Delivered-To: apmail-db-ddlutils-dev-archive@www.apache.org Received: (qmail 25888 invoked from network); 21 Nov 2005 21:24:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Nov 2005 21:24:06 -0000 Received: (qmail 810 invoked by uid 500); 21 Nov 2005 21:24:06 -0000 Delivered-To: apmail-db-ddlutils-dev-archive@db.apache.org Received: (qmail 780 invoked by uid 500); 21 Nov 2005 21:24:05 -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 767 invoked by uid 99); 21 Nov 2005 21:24:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2005 13:24:03 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id E02E1228 for ; Mon, 21 Nov 2005 22:23:41 +0100 (CET) Message-ID: <578129115.1132608221887.JavaMail.jira@ajax.apache.org> Date: Mon, 21 Nov 2005 22:23:41 +0100 (CET) From: "Thomas Dudziak (JIRA)" To: ddlutils-dev@db.apache.org Subject: [jira] Resolved: (DDLUTILS-49) Problem Delimiter in Postgres (8.1) In-Reply-To: <1984649729.1132303421195.JavaMail.jira@ajax.apache.org> 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-49?page=all ] Thomas Dudziak resolved DDLUTILS-49: ------------------------------------ Resolution: Fixed Fixed in SVN: now uses single quotes. > Problem Delimiter in Postgres (8.1) > ----------------------------------- > > Key: DDLUTILS-49 > URL: http://issues.apache.org/jira/browse/DDLUTILS-49 > Project: DdlUtils > Type: Bug > Environment: DDL-Utils (svn-Version), Postgres 8.1, Jdbc-Driver of Postgres 8.1 Distribution. > Reporter: Robert Einsle > Assignee: Thomas Dudziak > > while using DDL-Utils on Postgres 8.1 i found the following situation: > -- the xml --- > > > > > > > > > > > > > > > >
>
> --- end xml --- > while creating an Table ddl-utils reports the creating of the Sequence. But when creating the Table i recived the following Error: > --- cut --- > ... failed with ERROR: column "transactions_trade_id_seq" does not exist > --- cut --- > --- generated SQL --- > CREATE TABLE "transactions" > ( > "trade_id" INTEGER NOT NULL UNIQUE DEFAULT nextval("transactions_trade_id_seq"), > "currency" CHAR(3), > "product" CHAR(4), > "description" VARCHAR(50), > "exchange" CHAR(15), > "quantity" INTEGER, > "price" NUMERIC(15,4), > "amount" NUMERIC(15,2), > "symbol" CHAR(5), > "securityid" INTEGER > ) > --- end SQL > On Documentation of Postgres i found this: > --- Psql Doc --- > CREATE SEQUENCE /tablename/_/colname/_seq; > CREATE TABLE /tablename/ ( > /colname/ integer DEFAULT nextval('/tablename/_/colname/_seq') NOT NULL > ); > --- end Doc --- > So i think the dopple Quotes in nextval should be single Quotes. -- 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