mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
7 lines
284 B
Bash
Executable file
7 lines
284 B
Bash
Executable file
#!/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
|