how to get sql script for table in postgresql