Re: partitioning using dblink

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: partitioning using dblink
Дата
Msg-id 200803222205.m2MM5sV06603@momjian.us
обсуждение исходный текст
Ответ на Re: partitioning using dblink  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Added to TODO:

        o Add checks to prevent a CREATE RULE views on inherited tables

          http://archives.postgresql.org/pgsql-general/2008-02/msg01420.php


---------------------------------------------------------------------------

Tom Lane wrote:
> Scara Maccai <m_lists@yahoo.it> writes:
> > I got that there should be no difference... plus, I don't get any
> > errors,
>
> You should have.  The system enforces (or tries to) that a view can't be
> part of an inheritance hierarchy, but you seem to have managed to find a
> sequence of operations that avoids those checks.  Turning a table into a
> view with a manual CREATE RULE operation has always been a kluge, and
> it's missing a check that the table isn't part of an inheritance tree.
>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: "Douglas McNaught"
Дата:
Сообщение: Re: Postgres connection error
Следующее
От: Robert Treat
Дата:
Сообщение: Re: Postgresql partitioning