X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 8E3609FA6B2 for ; Fri, 7 Jul 2006 05:33:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 44895-04 for ; Fri, 7 Jul 2006 05:33:14 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.logix-tt.com (mail.logix-tt.com [212.211.145.186]) by postgresql.org (Postfix) with ESMTP id D955E9FA66C for ; Fri, 7 Jul 2006 05:33:14 -0300 (ADT) Received: from kingfisher.intern.logix-tt.com (p549D142A.dip0.t-ipconnect.de [84.157.20.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id 6516A656C1; Fri, 7 Jul 2006 10:34:55 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id DACB21852EF8A; Fri, 7 Jul 2006 10:33:31 +0200 (CEST) Message-ID: <44AE1C5B.3000300@logix-tt.com> Date: Fri, 07 Jul 2006 10:33:31 +0200 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Thunderbird 1.5.0.2 (X11/20060516) MIME-Version: 1.0 To: genekhart@gmail.com Cc: pgsql-performance@postgresql.org Subject: Re: Update INSERT RULE while running for Partitioning References: <430d92a20607070051k514e5325q87f434ccc666c01d@mail.gmail.com> In-Reply-To: <430d92a20607070051k514e5325q87f434ccc666c01d@mail.gmail.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/63 X-Sequence-Number: 19923 Hi, Gene, Gene wrote: > I'm using PostgreSQL 8.1.4 in a Hibernate Application and I am > attempting to use partitioning via Inherited tables. At first I was > going to create a rule per sub-table based on a date range, but found > out with multiple rules postgres will only return the affected-row count > on the last rule which gives Hibernate problems. This could be considered a PostgreSQL bug - maybe you should discuss this on the appropriate list (general, hackers)? HTH, Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org