From: Wayne Cuddy <lists-pgsql@useunix.net>
To: pgsql-sql@postgresql.org
Subject: Partitioned Tables
Date: Tue, 12 Jun 2012 20:05:45 -0400
Message-ID: <20120613000545.GM19474@slacker.ja10629.home> (raw)
I'm using partitioned tables where a child table is chosen based on a
time stamp. One child table exists for each month.
I move records from a temp table to the partitioned table via something like
this:
INSERT INTO parent_table SELECT * FROM temp_table;
All works well but with when inserting to standard tables the insert
result contains the number of records inserted. I've found that when I
insert into partitioned tables the result is always zero.
I'm using the TCL binding (pgintcl) but psql behaves the same way. Is
there any way to determine the number of rows actually inserted?
Thanks,
Wayne
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: lists-pgsql@useunix.net
Subject: Re: Partitioned Tables
In-Reply-To: <20120613000545.GM19474@slacker.ja10629.home>
* 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