<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuuuuukou</author_name>
  <author_url>https://blog.hatena.ne.jp/yuuuuukou/</author_url>
  <blog_title>yu/logs/*</blog_title>
  <blog_url>https://blog.yuuuuukou.com/</blog_url>
  <categories>
    <anon>PostgreSQL</anon>
  </categories>
  <description>PostgreSQLでbulk insert/update/upsertしたいときのメモ 0.確認用の環境 0.1.前提：PostgreSQLのバージョン 0.2.確認用のテーブル 1.bulk insert 1.1.クエリ 1.2.実行後の状態 1.3.実際にSQL Fiddleで実行した結果のリンク 2.bulk update 2.1.クエリ 2.1.1.パターン1 case式で分岐させる 2.1.2.パターン2 各値をパラメータとして渡す 2.1.3.パターン3 配列をパラメータとして渡す 2.2.実行後の状態 2.3.実際にSQL Fiddleで実行した結果のリンク 3.bulk up…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.yuuuuukou.com%2Fentry%2F2021%2F06%2F16%2F211415&quot; title=&quot;PostgreSQLでbulk insert/update/upsert - yu/logs/*&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>2021-06-16 21:14:15</published>
  <title>PostgreSQLでbulk insert/update/upsert</title>
  <type>rich</type>
  <url>https://blog.yuuuuukou.com/entry/2021/06/16/211415</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
