I modified .bash_profile rather than .bashrc and seems to work better. If I modifiy .bashrc and I log out and then back in as user postgres, .bashrc doesn't seem to be called in for some reason, but .bash_profile does. All this is happening in Debian Woody.