postgres version of vol_id trigger
more postgres conversions.  now have insert with returning but have lost insert/update on duplicate key.
further postgres refinement