{"blog_title":"\u6642\u3005\u3068\u304a\u307e\u308f\u308a","image_url":null,"url":"https://karlley.hatenablog.jp/entry/2022/07/25/084453","title":"PostgreSQL\u3067DB\u4f5c\u6210\u3059\u308b2\u3064\u306e\u65b9\u6cd5","categories":["PostgreSQL","DB"],"blog_url":"https://karlley.hatenablog.jp/","width":"100%","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkarlley.hatenablog.jp%2Fentry%2F2022%2F07%2F25%2F084453\" title=\"PostgreSQL\u3067DB\u4f5c\u6210\u3059\u308b2\u3064\u306e\u65b9\u6cd5 - \u6642\u3005\u3068\u304a\u307e\u308f\u308a\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","type":"rich","height":"190","description":"Sinatra\u3067\u30e1\u30e2\u30a2\u30d7\u30ea\u3092DB\u5316\u3059\u308b\u306b\u3042\u305f\u3063\u3066PostgreSQL\u3067\u65b0\u898f\u3067DB\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u306a\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 PostgreSQL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306fHomebrew\u7d4c\u7531\u3067\u884c\u3063\u305f\u3002 \u7d50\u8ad6 PostgreSQL\u3067DB\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u306f2\u3064\u3042\u308b\u3002 \u65b9\u6cd51: psql \u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066CREATE DATABASE \u3092\u5b9f\u884c \u65b9\u6cd52: \u30bf\u30fc\u30df\u30ca\u30eb\u3067createdb \u3092\u5b9f\u884c \u65b9\u6cd51: psql \u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066CREATE DATABASE \u3092\u5b9f\u884c \u4f8b) \u30e6\u30fc\u30b6karlley \u3067testdb DB\u3092\u4f5c\u6210\u3059\u308b\u3002 psql \u3092\u8d77\u52d5\u3059\u308b\u70ba\u306bpostgres DB\u306b\u63a5\u7d9a(\u63a5\u7d9a\u3059\u308bDB\u306f\u4ed6\u3067\u3082ok)\u3002 -U \u3067\u30e6\u30fc\u30b6\u6307\u5b9a\u2026","published":"2022-07-25 08:44:53","author_url":"https://blog.hatena.ne.jp/karlley_jp/","author_name":"karlley_jp"}