Unix Technical Forum

BUG #3993: RULE UPDATE : GET DIAGNOSTICS ROW_COUNT = 0

This is a discussion on BUG #3993: RULE UPDATE : GET DIAGNOSTICS ROW_COUNT = 0 within the pgsql Bugs forums, part of the PostgreSQL category; --> The following bug has been logged online: Bug reference: 3993 Logged by: vasile Email address: vasile.halosta@gmail.com PostgreSQL version: 8.2.4 ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 11:14 AM
vasile
 
Posts: n/a
Default BUG #3993: RULE UPDATE : GET DIAGNOSTICS ROW_COUNT = 0


The following bug has been logged online:

Bug reference: 3993
Logged by: vasile
Email address: vasile.halosta@gmail.com
PostgreSQL version: 8.2.4
Operating system: Centos 5
Description: RULE UPDATE : GET DIAGNOSTICS ROW_COUNT = 0
Details:

I have create 2 partitions for table tbl using inheritance and rules.

Before having partitions on table tbl, I was using GET DIAGNOSTICS ROW_COUNT
to check the number of rows updated/inserted.

After creating partitions on tbl when I run UPDATE/INSERT on the master
table (tbl) the ROW_COUNT is 0.

It may be correctly the ROW_COUNT to be 0 because the rows was
inserted/updated in another table (in partitions) and not in master table.

Please help me to find a solution to retrieve the number of rows
inserted/updated in all table partitions.


Thank You,
Vasile.

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:50 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com