Subselects not allowed? - Mailing list pgsql-sql

From Leif Biberg Kristensen
Subject Subselects not allowed?
Date
Msg-id 201106111701.54145.leif@solumslekt.org
Whole thread Raw
Responses Re: Subselects not allowed?  (Guillaume Lelarge <guillaume@lelarge.info>)
Re: Subselects not allowed?  (Andreas Kretschmer <akretschmer@spamfence.net>)
Re: Subselects not allowed?  (Leif Biberg Kristensen <leif@solumslekt.org>)
List pgsql-sql
Can anybody tell me why this doesn't work?

pgslekt=> CREATE SEQUENCE sources_source_id_seq START WITH (SELECT 
MAX(source_id) FROM sources);
ERROR:  syntax error at or near "("
LINE 1: CREATE SEQUENCE sources_source_id_seq START WITH (SELECT MAX...
      ^
 
pgslekt=> 

regards, Leif


pgsql-sql by date:

Previous
From: Jasen Betts
Date:
Subject: Re: ANY for Array value check
Next
From: Guillaume Lelarge
Date:
Subject: Re: Subselects not allowed?