# 로케일 문제로 인해 3.3에서 3.4로 업그레이드 시 발생하는 Postgres 오류

**URL:** https://meta.discourse.org/t/postgres-error-upgrading-from-3-3-to-3-4-caused-by-locale-issues/345185
**Category:** Bug
**Created:** [1월 2, 2025, 12:55오전 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:** 2

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [1월 2, 2025, 1:00오전 UTC](https://meta.discourse.org/t/postgres-error-upgrading-from-3-3-to-3-4-caused-by-locale-issues/345185/2 "2025-01-02T01:00:34Z")

</div>

당신의 변경 사항 @featheredtoast 와 관련이 있을까요?

> <https://github.com/discourse/discourse_docker/pull/855>
>
> Wondering if we really need all locales installed in the base image here.
> 
> Ins…talling the pre-built locales-all package via apt takes 245MB
> Generating just c and en\_us locales takes 22MB
> 
> @xfalcox I know it's been a while since the move to debian, but do you remember if this is necessary? One guess I have is the original call to locale-gen was being called a few layers later, with no locale.gen configuration file -- I'm assuming locale-gen en\_US used to work, but it doesn't appear to actually do anything in debian given debian's default \`/etc/locale.gen\` is empty

---

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