Re: Automating Partitions in PostgreSQL - Query on syntax
От | Robert Haas |
---|---|
Тема | Re: Automating Partitions in PostgreSQL - Query on syntax |
Дата | |
Msg-id | 603c8f070904210839v53081901m18162716f66ff353@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Automating Partitions in PostgreSQL - Query on syntax (vacuum@quantentunnel.de) |
Ответы |
Re: Automating Partitions in PostgreSQL - Query on syntax
|
Список | pgsql-hackers |
On Tue, Apr 21, 2009 at 11:13 AM, <vacuum@quantentunnel.de> wrote: > oh sorry .. > > but what I miss in this discussion - where we can define tablespace? > > CREATE PARTITIONS ON <table> ( > > CASE WHEN <condition> THEN emp_xxx [IN <tablespace>], > CASE WHEN <condition> THEN emp_yyy [IN <tablespace>], > CASE WHEN <condition> emp_zzz [IN <tablespace>], > ELSE emp_default [IN <tablespace>] > ) Oh blech. That IN <tablespace> syntax is awful. What about the other relevant parameters to CREATE TABLE - where are you going to put those? WITH (<storage parameter>) WITH OIDS WITHOUT OIDS And what happens when I need to alter a partition after the fact, say to move it to a new tablespace, or change the fillfactor? Since your syntax doesn't give names to the partitions, how will I refer to them later? ...Robert
В списке pgsql-hackers по дате отправления: