Re: Postgres Partitions not working with hibernate 4.1.6.Final

From: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
To: Freddie Burgess <fburgess(at)radiantblue(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Postgres Partitions not working with hibernate 4.1.6.Final
Date: 2012-09-25 20:50:01
Message-ID: CAJKUy5i6_pxNmvzu+JTXaoWy3eEynNFdrOnGdNPPoh1XbeZmQA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Sep 25, 2012 at 3:12 PM, Freddie Burgess
<fburgess(at)radiantblue(dot)com> wrote:
>
> Does anyone know why the previous .jdbc.batcher logic managed the postgres
> partitioned inserts without any issues?
> Are there any other alternative that will allow us to insert into a Postgres
> partition table without making massive code changes?

don't know about hibernate or that strange way to insert into partitions.
the postgresql's way is to create triggers on parent table to route
the inserts into the partitions as described here:
http://www.postgresql.org/docs/9.1/static/ddl-partitioning.html

> Would upgrading from 4.1.6.Final to Hibernate 4.1.7 in Linux, fix this
> partitioning ingest problem?
>

don't know, but that certainly looks like a hibernate bug, not a postgresql one

--
Jaime Casanova www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Freddie Burgess 2012-09-25 21:34:20 Re: Postgres Partitions not working with hibernate 4.1.6.Final
Previous Message Freddie Burgess 2012-09-25 20:12:21 Postgres Partitions not working with hibernate 4.1.6.Final