<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bayan</author_name>
  <author_url>https://blog.hatena.ne.jp/bayan/</author_url>
  <blog_title>bayanの&lt;del&gt;電波&lt;/del&gt;日記</blog_title>
  <blog_url>https://bayan.hatenadiary.com/</blog_url>
  <categories>
    <anon>PostgreSQL</anon>
  </categories>
  <description>ALTER DATABASE でできる。 ALTER DATABASE hoge_db RENAME TO foo_db; リネーム対象のデータベースに接続しているとダメと言われる。 hoge_db=# ALTER DATABASE hoge_db RENAME TO hoge_db_bak; ERROR: current database may not be renamedリネーム対象以外のデータベースに接続して操作を行う。 template1 でいいと思う。 [dareka@dokka ~]$ psql template1 Welcome to psql 8.1.11, the Post…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbayan.hatenadiary.com%2Fentry%2F20120405%2F1333573912&quot; title=&quot;データベースの名前を変更してみた - PostgreSQL - bayanの&amp;lt;del&amp;gt;電波&amp;lt;/del&amp;gt;日記&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>2012-04-05 06:11:52</published>
  <title>データベースの名前を変更してみた - PostgreSQL</title>
  <type>rich</type>
  <url>https://bayan.hatenadiary.com/entry/20120405/1333573912</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
