I searched for "/etc/postgresql/postgresql.env debian" from postgreql.org and found this, which might help:
http://archives.postgresql.org/pgsql-admin/2005-09/msg00191.php