added extract_pgsql_models.py