Re: Insert (or update) to a partitioned table returns 0 rows updated

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Insert (or update) to a partitioned table returns 0 rows updated
Дата
Msg-id Pine.BSO.4.64.0705211220190.2299@leary.csoft.net
обсуждение исходный текст
Ответ на Insert (or update) to a partitioned table returns 0 rows updated  (Vincent Lasmarias <vlasmarias@guardianmms.com>)
Список pgsql-jdbc

On Thu, 17 May 2007, Vincent Lasmarias wrote:

> When I insert to (or update) the master table of
> partitioned tables, the method's returning 0 (which
> indicates that 0 rows are updated). I then checked the
> DB and verified that it actually did successfully
> insert one entry. My guess for this behavior is that
> it's because the updated table is the child table and
> not the master table.  Is that expected?
>

Yes.  See http://www.postgresql.org/docs/8.2/static/rules-status.html

Kris Jurka

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: JDBC and composite types
Следующее
От: Luca Ferrari
Дата:
Сообщение: question about AbstractJdbc2Statement