Postgres Find String Python Example