{"width":"100%","categories":["PostgreSQL","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"author_url":"https://blog.hatena.ne.jp/tabilike/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","type":"rich","blog_title":"\u65c5\u597d\u304d\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30e1\u30e2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftabilike.hatenablog.com%2Fentry%2F2017%2F01%2F15%2F193056\" title=\"\u306f\u3058\u3081\u3066\u306epostgresql\u3000\u3068\u308a\u3042\u3048\u305apsql\u306b\u5165\u308b\u307e\u3067 - \u65c5\u597d\u304d\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","url":"https://tabilike.hatenablog.com/entry/2017/01/15/193056","image_url":null,"author_name":"tabilike","blog_url":"https://tabilike.hatenablog.com/","published":"2017-01-15 19:30:56","title":"\u306f\u3058\u3081\u3066\u306epostgresql\u3000\u3068\u308a\u3042\u3048\u305apsql\u306b\u5165\u308b\u307e\u3067","description":"\u521d\u3081\u3066\u306eDB\u3068\u304b\u3044\u3058\u308b\u3068\u304d\u3063\u3066\u7d50\u69cb\u82e6\u52b4\u3059\u308b\u3068\u601d\u3044\u307e\u3059\u3002 \u81ea\u5206\u3082postgresql\u306e\u3044\u308d\u3044\u308d\u306a\u30b5\u30a4\u30c8\u3092\u898b\u3066\u3001\u4f55\u304c\u6b63\u3057\u3044\u304b\u8ff7\u3044\u307e\u3057\u305f\u3002 \u307e\u3041\u3068\u308a\u3042\u3048\u305a\u3001postgresql\u3092\u3066\u304d\u3068\u3046\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066 sudo su \u305d\u306e\u6b21\u306b\u306f\u3001postgresql\u306e\u6a29\u9650\u3067\u3042\u308bpostgres\u306b\u5165\u308a\u307e\u3059\u3002 su postgres \u6700\u5f8c\u306b psql \u3068\u6253\u3066\u3070\u7d42\u308f\u308a\u3067\u3059\u3002 \u81ea\u5206\u306edb\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f psql\u306b\u5165\u3063\u305f\u72b6\u6cc1\u3060\u3068 \\l \u5165\u308b\u524d\u306e\u72b6\u614b\u3060\u3068 psql -l DB\u306e\u4f5c\u6210\u306f(psql\u306b\u5165\u3063\u3066\u304b\u3089) create database database_name; DB\u306e\u524a\u9664\u306f(psql\u306b\u5165\u3063\u3066\u304b\u3089) drop dat\u2026","version":"1.0"}