{"type":"rich","provider_url":"https://hatena.blog","description":"\u3084\u308a\u305f\u3044\u3053\u3068 Python3\u3067\u3001PostgreSQL\u306esequence\u3092\u4f7f\u3063\u305f\u51e6\u7406\u3092\u66f8\u304d\u305f\u3044 \u5b9f\u884c\u74b0\u5883 PostgreSQL9.6.6 Python3.6 psycopg2.7.4 \u691c\u8a3c\u7528\u30b7\u30fc\u30b1\u30f3\u30b9 CREATE SEQUENCE \"schema\".\"table_name_id_seq\" INCREMENT 1 START 1 NO MAXVALUE NO MINVALUE NO CYCLE CACHE 1 OWNED BY \"schema\".\"table_name\".\"id\" ; \u5b9f\u88c5\u4f8b try: conn = psycopg2.connect( host=rds_host, databas\u2026","image_url":null,"blog_title":"\u7d19\u4e00\u91cd\u306e\u7a4d\u307f\u91cd\u306d","published":"2018-05-15 07:00:00","author_url":"https://blog.hatena.ne.jp/yokoyantech/","title":"Python3+Psycopg2\u3092\u4f7f\u3063\u3066sequence\u3092\u53d6\u5f97\u3059\u308b #Python3 #PostgreSQL9.6","author_name":"yokoyantech","provider_name":"Hatena Blog","width":"100%","url":"https://www.yokoyan.net/entry/2018/05/15/070000","blog_url":"https://www.yokoyan.net/","categories":["Python","PostgreSQL"],"height":"190","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yokoyan.net%2Fentry%2F2018%2F05%2F15%2F070000\" title=\"Python3+Psycopg2\u3092\u4f7f\u3063\u3066sequence\u3092\u53d6\u5f97\u3059\u308b #Python3 #PostgreSQL9.6 - \u7d19\u4e00\u91cd\u306e\u7a4d\u307f\u91cd\u306d\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}