Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: JDBC executeUpdate returns 0 for table partitioning rule


  • From: Kris Jurka <books(at)ejurka(dot)com>
  • To: Tea Yu <teayu1(at)gmail(dot)com>
  • Cc: pgsql-jdbc(at)postgresql(dot)org
  • Subject: Re: JDBC executeUpdate returns 0 for table partitioning rule
  • Date: Tue, 6 Dec 2005 10:47:46 -0500 (EST)
  • Message-id: <Pine.BSO.4.61.0512061045400.5324@leary.csoft.net> <text/plain>



On Tue, 6 Dec 2005, Tea Yu wrote:

The scenario is quite simple - insert into a partitioned table in which a
rule forwards the insertion into an inherited partition (Postgresql 8.1)

However, JDBC returns 0 during Statement.executeUpdate(sql).  It behaves
normally when partition rule is removed.

That's certainly not what I'm seeing here. I've attached my testcase. So I've shown you mine, now you show me yours.

Kris Jurka

Attachment: Rule.java
Description: Text document



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group