<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iakio</author_name>
  <author_url>https://blog.hatena.ne.jp/iakio/</author_url>
  <blog_title>iakioの日記</blog_title>
  <blog_url>https://iakio.hatenablog.com/</blog_url>
  <categories>
    <anon>SQLAP</anon>
  </categories>
  <description>1つ前のエントリで、SQLの制約はエラーの詳細拾えなくて使えないわーといったのが聞こえたわけではないのだろうが、Bruce Momijan(PostgreSQLのCore Developer)がこんなエントリを書いていた。 Matching Server and Client Constraints チェック制約を使うと無効なデータの入力を避けることができるが、ユーザーに対するフィードバックにはあまり役に立たない。1つの改善案は、制約に名前をつけること CREATE TABLE ledger (id SERIAL, balance NUMERIC(10,2) CONSTRAINT &quot;Zero …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiakio.hatenablog.com%2Fentry%2F2013%2F04%2F13%2F212841&quot; title=&quot;SQLの制約エラーの詳細を取得する方法 - iakioの日記&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-04-13 21:28:41</published>
  <title>SQLの制約エラーの詳細を取得する方法</title>
  <type>rich</type>
  <url>https://iakio.hatenablog.com/entry/2013/04/13/212841</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
