Re: default child of partition master

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: default child of partition master
Дата
Msg-id 20060826005540.GC73562@pervasive.com
обсуждение исходный текст
Ответ на Re: default child of partition master  (Gene <genekhart@gmail.com>)
Список pgsql-hackers
On Sun, Aug 20, 2006 at 12:58:31PM -0400, Gene wrote:
> Keep in mind if you have multiple rules for a master table, it won't return
> the number of affected rows as you might expect. This screws up Hibernate
> which I'm using for my application. It checks the return value to make sure
> it was inserted properly. Luckily I only need one rule which puts it into
> the "current" child table (im partitioning on current timestamp). I suppose
> I could get around this by using a stored procedure or something but that
> would not be as portable. I'm looking forward to future versions of PG which
> automate more of the partitioning features :) keep up the good work!

Sounds like a bug in Hibernate. It should be checking for errors
instead.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: [Open Item] Re: Autovacuum on by default?
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Tricky bugs in concurrent index build