Postgres Find String Python Center