<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a666666</author_name>
  <author_url>https://blog.hatena.ne.jp/a666666/</author_url>
  <blog_title>@kyanny's blog</blog_title>
  <blog_url>https://blog.kyanny.me/</blog_url>
  <categories>
  </categories>
  <description>8.5. 日付/時刻データ型 time、timestampおよびintervalは秒フィールドに保有されている小数点以下の桁数を指定する精度値pをオプションで受け付けます。 デフォルトでは、精度についての明示的な限界はありません。 pの許容範囲は0から6です。 Go でテストコードを書いていて、これに関連しそうなバグ？でハマった。 time.Time 型のデータを database/sql と lib/pq を使って PostgreSQL に INSERT し、その後 SELECT して構造体にマッピングしたものを reflect.DeepEqual で比較したり go-cmp の Diff …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kyanny.me%2Fentry%2F2020%2F12%2F27%2F220407&quot; title=&quot;PostgreSQL: timestamp 型の秒の小数点以下の桁数は0桁から6桁 - @kyanny&amp;#39;s blog&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>2020-12-27 22:04:07</published>
  <title>PostgreSQL: timestamp 型の秒の小数点以下の桁数は0桁から6桁</title>
  <type>rich</type>
  <url>https://blog.kyanny.me/entry/2020/12/27/220407</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
