Hi Dave,
Also, we need to set Schema->Encoding. This is to define what client encoding is used for schema creation. For example, I would like to use Latin1 for writing functions.
Cheers,Jean-Michel