mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
shrink column to shrink display
This commit is contained in:
parent
3ffef37d77
commit
9b486d77fb
1 changed files with 2 additions and 2 deletions
|
@ -54,12 +54,12 @@ echo "; relay pid[s]: $(pidof xwrelay)"
|
||||||
echo "Row count:" $(psql -t xwgames -c "select count(*) FROM games $QUERY;")
|
echo "Row count:" $(psql -t xwgames -c "select count(*) FROM games $QUERY;")
|
||||||
|
|
||||||
# Games
|
# Games
|
||||||
echo "SELECT dead as d,connname,cid,room,lang as lg,clntVers as cv ,ntotal as t,nperdevice as nPerDev,nsents as snts, seeds,devids,tokens,ack, mtimes "\
|
echo "SELECT dead as d,connname,cid,room,lang as lg,clntVers as cv ,ntotal as t,nperdevice as npd,nsents as snts, seeds,devids,tokens,ack, mtimes "\
|
||||||
"FROM games $QUERY ORDER BY NOT dead, ctime DESC LIMIT $LIMIT;" \
|
"FROM games $QUERY ORDER BY NOT dead, ctime DESC LIMIT $LIMIT;" \
|
||||||
| psql xwgames
|
| psql xwgames
|
||||||
|
|
||||||
# Messages
|
# Messages
|
||||||
echo "SELECT * "\
|
echo "SELECT id,connName,hid as h,token,ctime,stime,devid,msg64 "\
|
||||||
"FROM msgs WHERE connname IN (SELECT connname from games $QUERY) "\
|
"FROM msgs WHERE connname IN (SELECT connname from games $QUERY) "\
|
||||||
"ORDER BY ctime DESC, connname LIMIT $LIMIT;" \
|
"ORDER BY ctime DESC, connname LIMIT $LIMIT;" \
|
||||||
| psql xwgames
|
| psql xwgames
|
||||||
|
|
Loading…
Reference in a new issue