GDB helper script for PostgreSQL debugging