remove conn postgrest sql