{"provider_name":"Hatena Blog","author_name":"gumfum","height":"190","version":"1.0","url":"https://gumfum.hatenablog.com/entry/2021/11/29/000000","width":"100%","title":"PostgreSQL\u3067serial\u3092integer\u306b\u5909\u66f4\u3059\u308b","provider_url":"https://hatena.blog","categories":[],"description":"integer\u3092serial\u306b\u5909\u66f4\u3059\u308b\u65b9\u6cd5\u306f\u591a\u304f\u898b\u3064\u304b\u3063\u305f\u304c\u3001\u9006\u306b\u3064\u3044\u3066\u306e\u8a18\u4e8b\u304c\u3042\u307e\u308a\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u8a18\u4e8b\u306b\u3057\u3066\u304a\u304f\u3002 serial\u578b\u3068\u306f \u81ea\u52d5\u3067\u63a1\u756a\u3092\u884c\u3063\u3066\u304f\u308c\u308b\u30c7\u30fc\u30bf\u578b\u306e\u3053\u3068\u3002\u30ab\u30e9\u30e0\u306bserial\u578b\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u5bfe\u5fdc\u3057\u305fsequence\u304c\u4f5c\u3089\u308c\u308b\u3002 postgres=# CREATE TABLE table_name ( column_name SERIAL ); CREATE TABLE postgres=# \\d List of relations Schema | Name | Type | Owner --------+----------------------------+\u2026","author_url":"https://blog.hatena.ne.jp/gumfum/","image_url":null,"blog_title":"gumfum blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgumfum.hatenablog.com%2Fentry%2F2021%2F11%2F29%2F000000\" title=\"PostgreSQL\u3067serial\u3092integer\u306b\u5909\u66f4\u3059\u308b - gumfum blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://gumfum.hatenablog.com/","published":"2021-11-29 00:00:00","type":"rich"}