How to add partitions to the existing table in PostgreSQL

Поиск
Список
Период
Сортировка
От Naveen Kumar
Тема How to add partitions to the existing table in PostgreSQL
Дата
Msg-id CAN+uLsHX4mQq3m5Ev8szQQwU4gxijMMoO8XDAubm0GdmEKEdsg@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to add partitions to the existing table in PostgreSQL  (Nagaraj Raj <nagaraj.sf@yahoo.com>)
Re: How to add partitions to the existing table in PostgreSQL  (Thomas Kellerer <shammat@gmx.net>)
Список pgsql-admin
How to add partitions to the existing table in PostgreSQL

for ex, below is my table definition:

CREATE TABLE ot.employee
(
    empno smallint NOT NULL,
    ename character varying(20),
    job character varying(20),
    deptno smallint
)

Now I would like to add partition to deptno column

I don't see any alter table command to add the partition to the existing table.

Please help me on this.

Thank you
Naveen

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

Предыдущее
От: Naveen Kumar
Дата:
Сообщение: Re: How to return multiple rows by stored procedure in postgresql
Следующее
От: Paul Förster
Дата:
Сообщение: Re: How to return multiple rows by stored procedure in postgresql