Re: --//pgsql partitioning-///--------------------

Поиск
Список
Период
Сортировка
От Ow Mun Heng
Тема Re: --//pgsql partitioning-///--------------------
Дата
Msg-id D1109E8B2FB53A45BDB60F8145905CE904B5359A@wdmyexbe03.my.asia.wdc.com
обсуждение исходный текст
Ответ на Re: --//pgsql partitioning-///--------------------  (Vick Khera <vivek@khera.org>)
Ответы pg_dump native format will not restore correctly  ("Scot Kreienkamp" <SKreien@la-z-boy.com>)
Список pgsql-general

-----Original Message-----
From: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org] On Behalf Of Vick Khera

> Here are two (not necessarily mutually exclusive) options for you:

>1) use triggers/rules on the master table and do all your inserts
>directed to it and have the trigger/rule do the right thing
>2) write your insert/update/delete statements to use the correct
>inherited table directly, and write a trigger on the master that
>denies any inserts.

#2 would have better performance than #1.

Use #1 only if you have no choice.


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

Предыдущее
От: Michal Bicz
Дата:
Сообщение: warm standby resume and take online problems
Следующее
От: Greg Smith
Дата:
Сообщение: Re: warm standby resume and take online problems