mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
8 lines
284 B
Bash
8 lines
284 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# Show pids of processes holding onto the xwgames DB in some way
|
||
|
|
||
|
# from http://newstrib.com/main.asp?SectionID=2&SubSectionID=27&ArticleID=26068
|
||
|
|
||
|
echo "select pg_class.relname,pg_locks.* from pg_class,pg_locks where pg_class.relfilenode=pg_locks.relation;" | psql xwgames
|