<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>maluboh</author_name>
  <author_url>https://blog.hatena.ne.jp/maluboh/</author_url>
  <blog_title>まるぼ〜の日記</blog_title>
  <blog_url>https://maluboh.hatenadiary.org/</blog_url>
  <categories>
    <anon>etc</anon>
  </categories>
  <description>rubyからpostgresを使うには Ruby PostgreSQL拡張モジュールを使う。APIの説明はPostgres referenceを参照。Debian(sid)でのモジュール名は libpgsql-ruby1.8。 $ sudo apt-get install libpgsql-ruby1.8 簡単な使い方を書いておく。 require 'postgres' # postgres に接続 conn = PGconn.connect(&quot;localhost&quot;, 5432, &quot;&quot;, &quot;&quot;, &quot;testdb&quot;, &quot;user&quot;, &quot;passwd&quot;) # クエリを発行 res = conn.e…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmaluboh.hatenadiary.org%2Fentry%2F20060421%2Fp1&quot; title=&quot;rubyからpostgresqlを使う - まるぼ〜の日記&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>2006-04-21 00:00:00</published>
  <title>rubyからpostgresqlを使う</title>
  <type>rich</type>
  <url>https://maluboh.hatenadiary.org/entry/20060421/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
