Use different queries for MySQL and Postgres
Use different queries for MySQL and Postgres

I could not find a query that worked on both; these two queries look
very similar and seem to do the same thing.

gopeter/gitlabhq,martijnvermaat/gitlabhq,pjknkda/gitlabhq,htve/GitlabForChinese,dukex/gitlabhq,DanielZhangQingLong/gitlabhq,hacsoc/gitlabhq,bozaro/gitlabhq,since2014/gitlabhq,pulkit21/gitlabhq,cui-liqiang/gitlab-ce,daiyu/gitlab-zh,childbamboo/gitlabhq,dvrylc/gitlabhq,michaKFromParis/sparkslab,LytayTOUCH/gitlabhq,liyakun/gitlabhq,yonglehou/gitlabhq,since2014/gitlabhq,whluwit/gitlabhq,yatish27/gitlabhq,gorgee/gitlabhq,Soullivaneuh/gitlabhq,dwrensha/gitlabhq,yfaizal/gitlabhq,jirutka/gitlabhq,tim-hoff/gitlabhq,rhels/gitlabhq,zrbsprite/gitlabhq,mmkassem/gitlabhq,H3Chief/gitlabhq,rebecamendez/gitlabhq,lvfeng1130/gitlabhq,ordiychen/gitlabhq,copystudy/gitlabhq,youprofit/gitlabhq,michaKFromParis/gitlabhq,ayufan/gitlabhq,WSDC-NITWarangal/gitlabhq,mmkassem/gitlabhq,mmkassem/gitlabhq,ayufan/gitlabhq,duduribeiro/gitlabhq,tk23/gitlabhq,stanhu/gitlabhq,wangcan2014/gitlabhq,manfer/gitlabhq,dukex/gitlabhq,hq804116393/gitlabhq,flashbuckets/gitlabhq,delkyd/gitlabhq,jvanbaarsen/gitlabhq,pulkit21/gitlabhq,stoplightio/gitlabhq,revaret/gitlabhq,jrjang/gitlab-ce,rumpelsepp/gitlabhq,fearenales/gitlabhq,Soullivaneuh/gitlabhq,cui-liqiang/gitlab-ce,stoplightio/gitlabhq,Exeia/gitlabhq,bigsurge/gitlabhq,OtkurBiz/gitlabhq,liyakun/gitlabhq,ordiychen/gitlabhq,zBMNForks/gitlabhq,ksoichiro/gitlabhq,nmav/gitlabhq,jvanbaarsen/gitlabhq,chadyred/gitlabhq,chenrui2014/gitlabhq,WSDC-NITWarangal/gitlabhq,jaepyoung/gitlabhq,theonlydoo/gitlabhq,delkyd/gitlabhq,manfer/gitlabhq,koreamic/gitlabhq,cinderblock/gitlabhq,larryli/gitlabhq,TheWatcher/gitlabhq,allysonbarros/gitlabhq,t-zuehlsdorff/gitlabhq,nguyen-tien-mulodo/gitlabhq,rebecamendez/gitlabhq,sekcheong/gitlabhq,bigsurge/gitlabhq,fscherwi/gitlabhq,cncodog/gitlab,youprofit/gitlabhq,WSDC-NITWarangal/gitlabhq,iiet/iiet-git,OtkurBiz/gitlabhq,tempbottle/gitlabhq,revaret/gitlabhq,Tyrael/gitlabhq,MauriceMohlek/gitlabhq,delkyd/gitlabhq,TheWatcher/gitlabhq,per-garden/gitlabhq,Tyrael/gitlabhq,williamherry/gitlabhq,stanhu/gitlabhq,fearenales/gitlabhq,eliasp/gitlabhq,chenrui2014/gitlabhq,johnmyqin/gitlabhq,icedwater/gitlabhq,Datacom/gitlabhq,kemenaran/gitlabhq,sekcheong/gitlabhq,manfer/gitlabhq,youprofit/gitlabhq,axilleas/gitlabhq,julianengel/gitlabhq,dwrensha/gitlabhq,WSDC-NITWarangal/gitlabhq,williamherry/gitlabhq,cui-liqiang/gitlab-ce,LytayTOUCH/gitlabhq,ikappas/gitlabhq,hq804116393/gitlabhq,yfaizal/gitlabhq,martijnvermaat/gitlabhq,revaret/gitlabhq,bbodenmiller/gitlabhq,mavimo/gitlabhq,Burick/gitlabhq,it33/gitlabhq,yama07/gitlabhq,initiummedia/gitlabhq,gopeter/gitlabhq,eliasp/gitlabhq,jrjang/gitlab-ce,dukex/gitlabhq,bigsurge/gitlabhq,openwide-java/gitlabhq,OtkurBiz/gitlabhq,dwrensha/gitlabhq,htve/GitlabForChinese,cncodog/gitlab,kitech/gitlabhq,tim-hoff/gitlabhq,ksoichiro/gitlabhq,johnmyqin/gitlabhq,luzhongyang/gitlabhq,ikappas/gitlabhq,hzy001/gitlabhq,axilleas/gitlabhq,fscherwi/gitlabhq,t-zuehlsdorff/gitlabhq,Datacom/gitlabhq,copystudy/gitlabhq,sonalkr132/gitlabhq,gorgee/gitlabhq,theodi/gitlabhq,allysonbarros/gitlabhq,mrb/gitlabhq,michaKFromParis/gitlabhq,koreamic/gitlabhq,fendoudeqingchunhh/gitlabhq,Devin001/gitlabhq,ngpestelos/gitlabhq,ikappas/gitlabhq,vjustov/gitlabhq,shinexiao/gitlabhq,hq804116393/gitlabhq,Exeia/gitlabhq,iiet/iiet-git,whluwit/gitlabhq,bigsurge/gitlabhq,hq804116393/gitlabhq,tempbottle/gitlabhq,lvfeng1130/gitlabhq,LUMC/gitlabhq,it33/gitlabhq,stoplightio/gitlabhq,kemenaran/gitlabhq,darkrasid/gitlabhq,SVArago/gitlabhq,stanhu/gitlabhq,zrbsprite/gitlabhq,sue445/gitlabhq,fscherwi/gitlabhq,openwide-java/gitlabhq,mente/gitlabhq,lvfeng1130/gitlabhq,MauriceMohlek/gitlabhq,michaKFromParis/gitlabhqold,tempbottle/gitlabhq,LUMC/gitlabhq,pulkit21/gitlabhq,julianengel/gitlabhq,yatish27/gitlabhq,koreamic/gitlabhq,stanhu/gitlabhq,jrjang/gitlabhq,revaret/gitlabhq,dvrylc/gitlabhq,dplarson/gitlabhq,vjustov/gitlabhq,allistera/gitlabhq,Telekom-PD/gitlabhq,NKMR6194/gitlabhq,whluwit/gitlabhq,k4zzk/gitlabhq,allistera/gitlabhq,ngpestelos/gitlabhq,louahola/gitlabhq,gorgee/gitlabhq,OlegGirko/gitlab-ce,gopeter/gitlabhq,dreampet/gitlab,fgbreel/gitlabhq,ngpestelos/gitlabhq,LUMC/gitlabhq,ksoichiro/gitlabhq,joalmeid/gitlabhq,nguyen-tien-mulodo/gitlabhq,daiyu/gitlab-zh,fantasywind/gitlabhq,mrb/gitlabhq,theodi/gitlabhq,k4zzk/gitlabhq,Razer6/gitlabhq,vjustov/gitlabhq,DanielZhangQingLong/gitlabhq,tk23/gitlabhq,tk23/gitlabhq,theonlydoo/gitlabhq,Datacom/gitlabhq,tim-hoff/gitlabhq,joalmeid/gitlabhq,yama07/gitlabhq,eliasp/gitlabhq,wangcan2014/gitlabhq,mr-dxdy/gitlabhq,rumpelsepp/gitlabhq,Burick/gitlabhq,yuyue2013/ss,fendoudeqingchunhh/gitlabhq,fgbreel/gitlabhq,ferdinandrosario/gitlabhq,OlegGirko/gitlab-ce,williamherry/gitlabhq,LUMC/gitlabhq,Soullivaneuh/gitlabhq,dvrylc/gitlabhq,Telekom-PD/gitlabhq,yuyue2013/ss,yonglehou/gitlabhq,mente/gitlabhq,it33/gitlabhq,since2014/gitlabhq,Razer6/gitlabhq,shinexiao/gitlabhq,htve/GitlabForChinese,theonlydoo/gitlabhq,H3Chief/gitlabhq,nmav/gitlabhq,szechyjs/gitlabhq,kitech/gitlabhq,chadyred/gitlabhq,DanielZhangQingLong/gitlabhq,larryli/gitlabhq,theonlydoo/gitlabhq,Telekom-PD/gitlabhq,jrjang/gitlab-ce,jaepyoung/gitlabhq,t-zuehlsdorff/gitlabhq,jrjang/gitlabhq,childbamboo/gitlabhq,yama07/gitlabhq,flashbuckets/gitlabhq,screenpages/gitlabhq,fearenales/gitlabhq,ikappas/gitlabhq,fscherwi/gitlabhq,yonglehou/gitlabhq,rhels/gitlabhq,eliasp/gitlabhq,cncodog/gitlab,yfaizal/gitlabhq,axilleas/gitlabhq,lvfeng1130/gitlabhq,initiummedia/gitlabhq,ordiychen/gitlabhq,johnmyqin/gitlabhq,mr-dxdy/gitlabhq,hzy001/gitlabhq,julianengel/gitlabhq,iiet/iiet-git,allistera/gitlabhq,Tyrael/gitlabhq,fgbreel/gitlabhq,bozaro/gitlabhq,duduribeiro/gitlabhq,szechyjs/gitlabhq,jrjang/gitlabhq,sakishum/gitlabhq,OlegGirko/gitlab-ce,louahola/gitlabhq,icedwater/gitlabhq,szechyjs/gitlabhq,sue445/gitlabhq,wangcan2014/gitlabhq,TheWatcher/gitlabhq,aaronsnyder/gitlabhq,mavimo/gitlabhq,tk23/gitlabhq,Burick/gitlabhq,Razer6/gitlabhq,Burick/gitlabhq,sonalkr132/gitlabhq,vjustov/gitlabhq,martinma4/gitlabhq,michaKFromParis/gitlabhqold,per-garden/gitlabhq,duduribeiro/gitlabhq,mrb/gitlabhq,screenpages/gitlabhq,theodi/gitlabhq,jrjang/gitlabhq,sue445/gitlabhq,t-zuehlsdorff/gitlabhq,salipro4ever/gitlabhq,rhels/gitlabhq,pjknkda/gitlabhq,mr-dxdy/gitlabhq,cinderblock/gitlabhq,joalmeid/gitlabhq,chadyred/gitlabhq,screenpages/gitlabhq,cncodog/gitlab,fantasywind/gitlabhq,bozaro/gitlabhq,dvrylc/gitlabhq,zBMNForks/gitlabhq,ngpestelos/gitlabhq,michaKFromParis/sparkslab,NKMR6194/gitlabhq,NKMR6194/gitlabhq,dreampet/gitlab,sekcheong/gitlabhq,bozaro/gitlabhq,zBMNForks/gitlabhq,mavimo/gitlabhq,Tyrael/gitlabhq,NKMR6194/gitlabhq,gorgee/gitlabhq,youprofit/gitlabhq,michaKFromParis/sparkslab,MauriceMohlek/gitlabhq,MauriceMohlek/gitlabhq,yatish27/gitlabhq,luzhongyang/gitlabhq,salipro4ever/gitlabhq,Exeia/gitlabhq,hacsoc/gitlabhq,fendoudeqingchunhh/gitlabhq,jvanbaarsen/gitlabhq,dplarson/gitlabhq,LytayTOUCH/gitlabhq,cinderblock/gitlabhq,per-garden/gitlabhq,martinma4/gitlabhq,mrb/gitlabhq,Devin001/gitlabhq,daiyu/gitlab-zh,Soullivaneuh/gitlabhq,fpgentil/gitlabhq,jirutka/gitlabhq,iiet/iiet-git,darkrasid/gitlabhq,Razer6/gitlabhq,michaKFromParis/gitlabhq,zrbsprite/gitlabhq,copystudy/gitlabhq,screenpages/gitlabhq,fearenales/gitlabhq,kemenaran/gitlabhq,pjknkda/gitlabhq,SVArago/gitlabhq,tim-hoff/gitlabhq,mr-dxdy/gitlabhq,per-garden/gitlabhq,ttasanen/gitlabhq,Devin001/gitlabhq,louahola/gitlabhq,jrjang/gitlab-ce,sakishum/gitlabhq,OlegGirko/gitlab-ce,martinma4/gitlabhq,folpindo/gitlabhq,dukex/gitlabhq,zrbsprite/gitlabhq,theodi/gitlabhq,hacsoc/gitlabhq,Datacom/gitlabhq,darkrasid/gitlabhq,gopeter/gitlabhq,manfer/gitlabhq,johnmyqin/gitlabhq,stoplightio/gitlabhq,williamherry/gitlabhq,OtkurBiz/gitlabhq,kemenaran/gitlabhq,sakishum/gitlabhq,kitech/gitlabhq,folpindo/gitlabhq,jaepyoung/gitlabhq,pjknkda/gitlabhq,shinexiao/gitlabhq,fgbreel/gitlabhq,yuyue2013/ss,sekcheong/gitlabhq,allysonbarros/gitlabhq,axilleas/gitlabhq,chadyred/gitlabhq,since2014/gitlabhq,tempbottle/gitlabhq,larryli/gitlabhq,darkrasid/gitlabhq,salipro4ever/gitlabhq,ttasanen/gitlabhq,rumpelsepp/gitlabhq,liyakun/gitlabhq,rebecamendez/gitlabhq,dwrensha/gitlabhq,openwide-java/gitlabhq,flashbuckets/gitlabhq,luzhongyang/gitlabhq,yatish27/gitlabhq,ferdinandrosario/gitlabhq,TheWatcher/gitlabhq,initiummedia/gitlabhq,ksoichiro/gitlabhq,michaKFromParis/gitlabhqold,initiummedia/gitlabhq,michaKFromParis/gitlabhq,fpgentil/gitlabhq,it33/gitlabhq,jirutka/gitlabhq,DanielZhangQingLong/gitlabhq,sonalkr132/gitlabhq,Devin001/gitlabhq,fpgentil/gitlabhq,Exeia/gitlabhq,H3Chief/gitlabhq,ferdinandrosario/gitlabhq,mavimo/gitlabhq,chenrui2014/gitlabhq,liyakun/gitlabhq,hzy001/gitlabhq,icedwater/gitlabhq,sue445/gitlabhq,childbamboo/gitlabhq,rumpelsepp/gitlabhq,michaKFromParis/gitlabhqold,fendoudeqingchunhh/gitlabhq,cui-liqiang/gitlab-ce,yama07/gitlabhq,flashbuckets/gitlabhq,SVArago/gitlabhq,SVArago/gitlabhq,martinma4/gitlabhq,jvanbaarsen/gitlabhq,daiyu/gitlab-zh,szechyjs/gitlabhq,bbodenmiller/gitlabhq,salipro4ever/gitlabhq,dplarson/gitlabhq,fpgentil/gitlabhq,ordiychen/gitlabhq,htve/GitlabForChinese,dreampet/gitlab,hzy001/gitlabhq,k4zzk/gitlabhq,folpindo/gitlabhq,bbodenmiller/gitlabhq,folpindo/gitlabhq,martijnvermaat/gitlabhq,H3Chief/gitlabhq,copystudy/gitlabhq,michaKFromParis/sparkslab,aaronsnyder/gitlabhq,ayufan/gitlabhq,nmav/gitlabhq,louahola/gitlabhq,koreamic/gitlabhq,icedwater/gitlabhq,julianengel/gitlabhq,joalmeid/gitlabhq,nmav/gitlabhq,ayufan/gitlabhq,allysonbarros/gitlabhq,mmkassem/gitlabhq,k4zzk/gitlabhq,nguyen-tien-mulodo/gitlabhq,martijnvermaat/gitlabhq,luzhongyang/gitlabhq,aaronsnyder/gitlabhq,pulkit21/gitlabhq,dreampet/gitlab,aaronsnyder/gitlabhq,fantasywind/gitlabhq,zBMNForks/gitlabhq,yuyue2013/ss,nguyen-tien-mulodo/gitlabhq,fantasywind/gitlabhq,sakishum/gitlabhq,ferdinandrosario/gitlabhq,hacsoc/gitlabhq,larryli/gitlabhq,kitech/gitlabhq,ttasanen/gitlabhq,duduribeiro/gitlabhq,chenrui2014/gitlabhq,delkyd/gitlabhq,rhels/gitlabhq,bbodenmiller/gitlabhq,jaepyoung/gitlabhq,mente/gitlabhq,sonalkr132/gitlabhq,ttasanen/gitlabhq,allistera/gitlabhq,wangcan2014/gitlabhq,whluwit/gitlabhq,childbamboo/gitlabhq,dplarson/gitlabhq,yonglehou/gitlabhq,yfaizal/gitlabhq,cinderblock/gitlabhq,rebecamendez/gitlabhq,openwide-java/gitlabhq,mente/gitlabhq,LytayTOUCH/gitlabhq,shinexiao/gitlabhq,jirutka/gitlabhq,Telekom-PD/gitlabhq