Re: alter table - Mailing list pgsql-sql

From Andreas Kretschmer
Subject Re: alter table
Date
Msg-id 20060215192700.GC12551@KanotixBox
Whole thread Raw
In response to Re: alter table  (Maciej Piekielniak <piechcio@isb.com.pl>)
Responses Re: alter table
List pgsql-sql
Maciej Piekielniak <piechcio@isb.com.pl> 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.2on 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°


pgsql-sql by date:

Previous
From: Maciej Piekielniak
Date:
Subject: Re: alter table
Next
From: Maciej Piekielniak
Date:
Subject: Re: alter table