X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B900F9DCC37 for ; Wed, 15 Feb 2006 15:26:30 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 99397-03 for ; Wed, 15 Feb 2006 15:26:30 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from 137086.vserver.de (vs137086.vserver.de [62.75.137.86]) by postgresql.org (Postfix) with ESMTP id 64B1B9DCC32 for ; Wed, 15 Feb 2006 15:26:28 -0400 (AST) Received: from a-kretschmer.de (p54B3AE9A.dip0.t-ipconnect.de [84.179.174.154]) (authenticated bits=0) by 137086.vserver.de (8.12.8/8.12.8) with ESMTP id k1FJQQiL022277 for ; Wed, 15 Feb 2006 20:26:27 +0100 Received: from kretschmer by a-kretschmer.de with local (Exim 4.60) (envelope-from ) id 1F9SIm-0003sO-9U for pgsql-sql@postgresql.org; Wed, 15 Feb 2006 20:27:00 +0100 Date: Wed, 15 Feb 2006 20:27:00 +0100 From: Andreas Kretschmer To: pgsql-sql@postgresql.org Subject: Re: alter table Message-ID: <20060215192700.GC12551@KanotixBox> References: <1113783300.20060215191156@isb.com.pl> <20060215185428.GB12551@KanotixBox> <963727612.20060215202350@isb.com.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <963727612.20060215202350@isb.com.pl> X-OS: Debian/GNU Linux - weil ich es mir Wert bin! X-GPG-Fingerprint: EE16 3C01 7B9C 10F7 2C8B 3B86 4DB3 D9EE 7F45 84DA X-Message-Flag: "Windows" is not the answer. "Windows" is the question and the answer is "no"! X-Lugdd: Gerd Kube X-Info: My name is root. Just root. And I am licensed to kill -9 User-Agent: mutt-ng 1.5.9i (Linux) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.125 required=5 tests=[AWL=0.125] X-Spam-Score: 0.125 X-Spam-Level: X-Archive-Number: 200602/177 X-Sequence-Number: 24187 Maciej Piekielniak schrieb: > Hello Andreas, > > Wednesday, February 15, 2006, 7:54:28 PM, you wrote: > AK> test=# alter table xyz alter column id set default nextval('xyz_seq'), alter column foo set default ''; > > PGAdmin-SQL: > > alter table xyz alter column id set default nextval('xyz_seq'), alter column foo set default ''; > > ERROR: syntax error at or near "," at character 63 Hmm. test=# select version(); version -------------------------------------------------------------------------------------------------------------- PostgreSQL 8.1.2 on i486-pc-linux-gnu, compiled by GCC cc (GCC) 4.0.3 20060104 (prerelease) (Debian 4.0.2-6) (1 row) i'm working with the native client - psql. HTH, Andreas -- Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. (Linus Torvalds) "If I was god, I would recompile penguin with --enable-fly." (unknow) Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°