{"blog_title":"Oboe\u5439\u304d\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u9ed9\u793a\u9332","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Foboe2uran.hatenablog.com%2Fentry%2F2025%2F02%2F23%2F142955\" title=\"PostgreSQL GENERATED AS IDENTITY - Oboe\u5439\u304d\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u9ed9\u793a\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/posturan/","type":"rich","published":"2025-02-23 14:29:55","provider_url":"https://hatena.blog","image_url":null,"categories":["SQL","\u305d\u306e\u4ed6"],"author_name":"posturan","description":"PosetgreSQL 10\u4ee5\u964d\u3067\u306f\u3001serial \u306e\u4ee3\u308f\u308a\u306b GENERATED AS IDENTITY \u304c\u4f7f\u3048\u308b\u3002 CREATE TABLE user( id BIGINT GENERATED ALWAYS AS IDENTITY, -- \u4ee5\u964d\u7701\u7565 -- \u30b7\u30fc\u30b1\u30f3\u30b9\u5024\u306e\u958b\u59cb\u304b\u3089\u7701\u7565\u305b\u305a\u306b\u66f8\u304f\u306a\u3089 id BIGINT GENERATED ALWAYS AS IDENTITY( INCREMENT BY 1 MINVALUE 1 MAXVALUE 9223372036854775807 START 1 CACHE 1 NO CYCLE) NOT NULL, \u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3057\u305f\u6642\u306b\u3001user \u30c6\u2026","url":"https://oboe2uran.hatenablog.com/entry/2025/02/23/142955","provider_name":"Hatena Blog","version":"1.0","blog_url":"https://oboe2uran.hatenablog.com/","height":"190","width":"100%","title":"PostgreSQL GENERATED AS IDENTITY"}