Search Postgresql Archives

trigger and returning the #of rows affected (partitioning)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there any way in which a trigger can return the # of rows affected by the insert / delete ?

 

Master

à slave_1

à slave_2

 

Trigger is against master which will, based on the conditions re-direct the data into the relevant slave_X partitions.

 

I think this post basically is what I am seeing.

http://www.nabble.com/affected-rows-count-td21124000.html

 

If there any methods in which I can get back the affected # or rows affected? Or will I have to use / do another trigger on the slave_X tables to do the counts?


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux