<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kaigai</author_name>
  <author_url>https://blog.hatena.ne.jp/kaigai/</author_url>
  <blog_title>KaiGaiの俺メモ</blog_title>
  <blog_url>https://kaigai.hatenablog.com/</blog_url>
  <categories>
    <anon>OSS/Linux</anon>
  </categories>
  <description>COPY TO/FROM 構文の主な用途は、データベースのバックアップとリストアで、pg_dumpコマンドが内部的に使っている。pg_dumpでセキュリティコンテキスト付きのCOPY TO/FROMを可能にするには、若干、COPYコマンドの実装に手を加える必要があった。 実は、昔の('07/01頃の)SE-PostgreSQLの実装ではこんな必要はなかったのだが、セキュリティコンテキスト情報をシステム列に持たせるようにしたために、特殊なハンドリングが必要になったというオチ。 (ちなみに、昔は勝手に隠れカラムを作る実装にしていた。こちらの方が全体としての手間が多い)別のシステム列であるOIDのC…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaigai.hatenablog.com%2Fentry%2F20070522%2F1179792093&quot; title=&quot;COPY TO/FROM と security_context - KaiGaiの俺メモ&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>2007-05-22 09:01:33</published>
  <title>COPY TO/FROM と security_context</title>
  <type>rich</type>
  <url>https://kaigai.hatenablog.com/entry/20070522/1179792093</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
