Change the way queries are constructed to allow pycopg2 to handle escaping the query strings.
Change the way queries are constructed to allow pycopg2 to handle escaping the query strings.

jameslegg/boto,zzzirk/boto,campenberger/boto,kouk/boto,s0enke/boto,trademob/boto,Pretio/boto,acourtney2015/boto,dablak/boto,alex/boto,ocadotechnology/boto,disruptek/boto,Timus1712/boto,andresriancho/boto,rosmo/boto,pfhayes/boto,appneta/boto,felix-d/boto,lra/boto,serviceagility/boto,awatts/boto,tpodowd/boto,rayluo/boto,jameslegg/boto,abridgett/boto,darjus-amzn/boto,zachmullen/boto,ryansb/boto,TiVoMaker/boto,shipci/boto,FATruden/boto,yangchaogit/boto,SaranyaKarthikeyan/boto,rjschwei/boto,weebygames/boto,ric03uec/boto,drbild/boto,shaunbrady/boto,dablak/boto,jindongh/boto,Asana/boto,drbild/boto,tpodowd/boto,ddzialak/boto,j-carl/boto,khagler/boto,nishigori/boto,clouddocx/boto,disruptek/boto,jotes/boto,lochiiconnectivity/boto,bleib1dj/boto,janslow/boto,ekalosak/boto,stevenbrichards/boto,revmischa/boto,lochiiconnectivity/boto,alfredodeza/boto,weka-io/boto,bryx-inc/boto,jamesls/boto,jamesls/boto,garnaat/boto,appneta/boto,cyclecomputing/boto,elainexmas/boto,podhmo/boto,ramitsurana/boto,alex/boto,kouk/boto,israelbenatar/boto,varunarya10/boto,nikhilraog/boto,vishnugonela/boto,nexusz99/boto,dimdung/boto,andresriancho/boto,vijaylbais/boto,rjschwei/boto