show related messages as well

This commit is contained in:
Eric House 2012-09-11 19:07:16 -07:00
parent 761f93dd7e
commit a0b564c7e8

View file

@ -30,3 +30,8 @@ echo "SELECT dead,connname,cid,room,lang,clntVers,ntotal,nperdevice,seeds,ack,ns
"FROM games $QUERY ORDER BY NOT dead, connname LIMIT $LIMIT;" \
| psql xwgames
echo "SELECT id, connname, hid, msglen "\
"FROM msgs where connname in (SELECT connname from games where not games.dead group by connname)" \
"order by connname, id;" \
| psql xwgames