mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
save space by shortening column names
This commit is contained in:
parent
bf767577e3
commit
e6488ff8c1
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ echo -n "Device (pid) count: $(pidof xwords | wc | awk '{print $2}')"
|
||||||
echo "; relay pid[s]: $(pidof xwrelay)"
|
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;")
|
||||||
|
|
||||||
echo "SELECT dead,connname,cid,room,lang,clntVers as cv ,ntotal,nperdevice,seeds,addrs,tokens,devids,ack,nsent as snt "\
|
echo "SELECT dead,connname,cid,room,lang as lg,clntVers as cv ,ntotal as tot,nperdevice as nPerDev,seeds,addrs,tokens,devids,ack,nsent as snt "\
|
||||||
"FROM games $QUERY ORDER BY NOT dead, connname LIMIT $LIMIT;" \
|
"FROM games $QUERY ORDER BY NOT dead, connname LIMIT $LIMIT;" \
|
||||||
| psql xwgames
|
| psql xwgames
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue