The problem with postgresql seems unrelated to locales to me. Can you please give it a shot once again?