regenerating structure.rb to work with rhel 6 (postgresql 8.4)