<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sirocco</author_name>
  <author_url>https://blog.hatena.ne.jp/sirocco/</author_url>
  <blog_title>sirocco の書いてもすぐに忘れるメモ</blog_title>
  <blog_url>https://sirocco.hatenadiary.org/</blog_url>
  <categories>
    <anon>PostgreSQL</anon>
    <anon>Haskell</anon>
  </categories>
  <description>前回は connectPostgreSQL でコネクションを確立して quickQuery'で読み出しましたが、今回は prepare を使った読み出しです。 SQLの「PREPARE で SQL を準備し、EXECUTE によりパラメータのみの実行」に相当します。 -- ghc --make -o sel -LC:\PostgreSQL\8.4\lib select.hs main = do conn &lt;- connectPostgreSQL &quot;host=localhost port=5433 dbname=test&quot; stmt &lt;- prepare conn &quot;SELECT id,code…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20110512%2F1305185564&quot; title=&quot;Haskell で PostgreSQL を扱う：「遅延読み込み」 - sirocco の書いてもすぐに忘れるメモ&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>2011-05-12 16:32:44</published>
  <title>Haskell で PostgreSQL を扱う：「遅延読み込み」</title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20110512/1305185564</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
