2013/6/1 David Salisbury <salisb...@globe.gov> > I would think this would be possible. I'm on 9.0.8 >
Data-Modifying CTEs are available since 9.1: http://www.depesz.com/2011/03/16/waiting-for-9-1-writable-cte/ Please note, that CTE acts as an optimization fence, therefore you might experience query slowdown. -- Victor Y. Yegorov