Hy List, 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. Should i check the behavior on Postgres 7.4?