syntax error wehen creating sequence

Поиск
Список
Период
Сортировка
От Andreas Moroder
Тема syntax error wehen creating sequence
Дата
Msg-id 42062F78.6020601@tin.it
обсуждение исходный текст
Ответы Re: syntax error wehen creating sequence  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgadmin-support
Hello,

when I create a sequence pgadmin has the tablespace listbox enable.
When I chose a tablespace then it creates the folowing command.

CREATE SEQUENCE wtb.test  INCREMENT 1  START 1  TABLESPACE pg_default;
ALTER TABLE wtb.test OWNER TO wtb;


postgres gives back a syntax error because "create sequence" does not 
allow the tablespace parameter

CREATE [ TEMPORARY | TEMP ] SEQUENCE name [ INCREMENT [ BY ] increment ]   [ MINVALUE minvalue | NO MINVALUE ] [
MAXVALUEmaxvalue | NO MAXVALUE ]   [ START [ WITH ] start ] [ CACHE cache ] [ [ NO ] CYCLE ]
 


Bye
Andreas


В списке pgadmin-support по дате отправления:

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: Export funtion
Следующее
От: Ivan
Дата:
Сообщение: feature request