<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryuichi1208</author_name>
  <author_url>https://blog.hatena.ne.jp/ryuichi1208/</author_url>
  <blog_title>地方エンジニアの学習日記</blog_title>
  <blog_url>https://ryuichi1208.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>概要 ユーザー定義関数を実装してPostgreSQLで呼び出せるようにします。 準備 $ sudo apt install postgresql-server-dev-all ソース #include &quot;postgres.h&quot; #include &quot;fmgr.h&quot; PG_MODULE_MAGIC; // INT4 (整数) 用関数 PG_FUNCTION_INFO_V1(multiply_by_ten_int); Datum multiply_by_ten_int(PG_FUNCTION_ARGS) { int32 input = PG_GETARG_INT32(0); PG_RETURN_IN…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryuichi1208.hateblo.jp%2Fentry%2F2024%2F10%2F13%2F213008&quot; title=&quot;【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>2024-10-13 21:30:08</published>
  <title>【PostgreSQL】ユーザー定義関数を登録する</title>
  <type>rich</type>
  <url>https://ryuichi1208.hateblo.jp/entry/2024/10/13/213008</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
