<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mask0702</author_name>
  <author_url>https://blog.hatena.ne.jp/mask0702/</author_url>
  <blog_title>くわこのpermission denied.</blog_title>
  <blog_url>https://mask.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>postgreSQLでカラムにシーケンスを付ける方法 postgreSQLのテーブルでidカラムとかをincrementにし忘れている時に、途中からシーケンスを貼る方法を教えてもらったのでメモ。まず、何番から連番(auto increment)を始めたいかをメモしておきます。（今回は6894番目からやりたいとします。)次に、シーケンスの名前を決めます。僕は分かりやすいように、[テーブル名_カラム名_seq]とかにしてます。（例: member_id_seq)準備ができたら、 CREATE SEQUENCE member_id_seq START 6894;というSQLを流します。 これでシーケ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmask.hatenadiary.com%2Fentry%2F2014%2F10%2F09%2F102352&quot; title=&quot;postgreSQLでカラムにシーケンスを付ける方法 - くわこのpermission denied.&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>2014-10-09 10:23:52</published>
  <title>postgreSQLでカラムにシーケンスを付ける方法</title>
  <type>rich</type>
  <url>https://mask.hatenadiary.com/entry/2014/10/09/102352</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
