PostgreSQL 9.0 has the psql option --no-password/-w, which is what you want to use. It should be OK to also use this in older versions because they will just fail and print nothing, which is no worse than the disabled state now.
PostgreSQL 9.0 has the psql option --no-password/-w, which is what you want to use. It should be OK to also use this in older versions because they will just fail and print nothing, which is no worse than the disabled state now.