You probably need to purge the postgresql-client package as well, so that your shell will find /usr/local/pgsql/bin/psql which should be the one that you installed from source.
I believe there is a "backports" repository with up-to-date versions you can just apt-get though. Any Debianites like to go on the record as to how to set that up?
-- Richard Huxton Archonet Ltd
---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings