Re: default child of partition master - Mailing list pgsql-hackers

From Jim C. Nasby
Subject Re: default child of partition master
Date
Msg-id 20060826005540.GC73562@pervasive.com
Whole thread Raw
In response to Re: default child of partition master  (Gene <genekhart@gmail.com>)
List 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 by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: [Open Item] Re: Autovacuum on by default?
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Tricky bugs in concurrent index build