Postgresql Search For String Python