<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hhelibex</author_name>
  <author_url>https://blog.hatena.ne.jp/hhelibex/</author_url>
  <blog_title>HHeLiBeXの日記 正道編</blog_title>
  <blog_url>https://hhelibex.hatenablog.jp/</blog_url>
  <categories>
    <anon>PostgreSQL</anon>
    <anon>PHP</anon>
  </categories>
  <description>やはり自称DB屋(何)としては、DBMSのことを書かないと始まらないだろうということで(謎) PHPプログラムからPostgreSQLにいわゆるバイナリデータを放り込んでいろいろやる必要が生じたので、ちょっと調べてみると、主に以下の2通りがあるらしい。 bytea型の列を作るやり方 pg_catalog.pg_largeobjectテーブルを使うやり方 本当に巨大なデータを扱う際には、pg_largeobjectテーブルとそのためのAPIを使うのが楽なのだろうが、今回は以下の理由でbytea型を使うことにした。 格納するデータ量は大して大きくない(高々数MB) pg_largeobjectテー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhhelibex.hatenablog.jp%2Fentry%2F20131031%2F1383231642&quot; title=&quot;bytea型でバイナリデータを扱う際のワナ - HHeLiBeXの日記 正道編&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>2013-10-31 00:00:42</published>
  <title>bytea型でバイナリデータを扱う際のワナ</title>
  <type>rich</type>
  <url>https://hhelibex.hatenablog.jp/entry/20131031/1383231642</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
