<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ikkitang1211</author_name>
  <author_url>https://blog.hatena.ne.jp/ikkitang1211/</author_url>
  <blog_title>お？意外といけるやん！</blog_title>
  <blog_url>https://www.ikkitang1211.site/</blog_url>
  <categories>
  </categories>
  <description>先日、 OSC2019 Hiroshima で PostgreSQL の Explainを使って Indexを貼る前・貼った後の速度計測をする というデモの環境を構築しました。 その時、Localeの初期値が C じゃなかったので お？ と思い、調べてみました。 結論を先に POSTGRES_INITDB_ARGS に &quot;--encoding=UTF-8 --locale=C&quot; を設定する docker-compose.yml とかだと以下のように設定すると有効化されます。 version: &quot;3.7&quot; services: postgres: image: postgres:11 enviro…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.ikkitang1211.site%2Fentry%2Fdocker_postgres_initdb_args&quot; title=&quot;Docker で起動するPostgreSQLのLocaleの初期値を設定する - お？意外といけるやん！&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-09-15 13:33:36</published>
  <title>Docker で起動するPostgreSQLのLocaleの初期値を設定する</title>
  <type>rich</type>
  <url>https://www.ikkitang1211.site/entry/docker_postgres_initdb_args</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
