title: PostgreSQL environment file on Mac OSX?
body: <p>PostgreSQL seems to have an environment file that allows settings environment variables. On Linux (Kubuntu 11.10 in my case), it is located at e.g. <code>/etc/postgresql/8.4/main/environment</code> and empty by default, apart from a few helpful comments.</p>
  
  <p>On Mac OSX Lion, the file does not seem to exist: I would expect it at e.g. <code>/Library/PostgreSQL/9.0/data/</code> as that's where all the other configuration files are, but it is not there - and if I create it, it does not seem to be used.</p>
  
  <p>How can I set environment variables for the PostgreSQL server on Mac OSX ?</p>