#!/bin/sh
#
# /usr/local/devel/pglite/cvs/src/bin/ipcclean/ipcclean.sh,v 1.1 1995/06/28 03:27:41 jolly Exp
#
PATH=/usr/local/postgres95/bin:$PATH
export PATH
ipcs | egrep '^m .*|^s .*' | egrep "`whoami`|postgres" | \
awk '{printf "ipcrm -%s %s\n", $1, $2}' '-' | sh
