From: Kris Jurka <books@ejurka.com>
To: Vincent Lasmarias <vlasmarias@guardianmms.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Insert (or update) to a partitioned table returns 0 rows updated
Date: Mon, 21 May 2007 12:27:48 -0400 (EDT)
Message-ID: <Pine.BSO.4.64.0705211220190.2299@leary.csoft.net> (raw)
In-Reply-To: <228537.48279.qm@web411.biz.mail.mud.yahoo.com>
References: <228537.48279.qm@web411.biz.mail.mud.yahoo.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, vlasmarias@guardianmms.com
Subject: Re: Insert (or update) to a partitioned table returns 0 rows updated
In-Reply-To: <Pine.BSO.4.64.0705211220190.2299@leary.csoft.net>
References: <228537.48279.qm@web411.biz.mail.mud.yahoo.com> <Pine.BSO.4.64.0705211220190.2299@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox