# Postgres error upgrading from 3.3 to 3.4 caused by locale issues

**URL:** <https://meta.discourse.org/t/postgres-error-upgrading-from-3-3-to-3-4-caused-by-locale-issues/345185>\
**Category:** Bug\
**Created:** [January 2, 2025, 12:55am UTC](https://meta.discourse.org/t/postgres-error-upgrading-from-3-3-to-3-4-caused-by-locale-issues/345185 "2025-01-02T00:55:58Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [January 2, 2025, 1:04am UTC](https://meta.discourse.org/t/postgres-error-upgrading-from-3-3-to-3-4-caused-by-locale-issues/345185/3 "2025-01-02T01:04:50Z")

</div>

If you add the following to your container definition file it should resolve the issue.

```plaintext
env:
  LANG: en_GB.UTF-8

```

---

_[View the full topic](https://meta.discourse.org/t/postgres-error-upgrading-from-3-3-to-3-4-caused-by-locale-issues/345185)._
