{"url":"https://shuzo-kino.hateblo.jp/entry/2016/11/26/230522","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2016%2F11%2F26%2F230522\" title=\"postgres\u3067\u73fe\u5728\u306e\u30e6\u30fc\u30b6\u540d\u3092\u77e5\u308b - Bye Bye Moore\" 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","version":"1.0","blog_url":"https://shuzo-kino.hateblo.jp/","categories":[],"title":"postgres\u3067\u73fe\u5728\u306e\u30e6\u30fc\u30b6\u540d\u3092\u77e5\u308b","provider_url":"https://hatena.blog","width":"100%","description":"\u3042\u3093\u307e\u308a\u53c2\u7167\u3059\u308b\u6a5f\u4f1a\u3082\u306a\u3044\u3067\u3059\u304c\u3001PostgreSQL\u3067\u73fe\u72b6\u306e\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u540d\u3092\u8868\u793a\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002 \u5b9f\u969b\u306e\u3068\u3053\u308d \u73fe\u72b6\u306e\u30e6\u30fc\u30b6\u60c5\u5831\u306fCURRENT_USER\u5909\u6570\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u307e\u3059\u3002 \u3068\u3044\u3046\u308f\u3051\u3067\u3001\u5168\u90e8\u51fa\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u3053\u3046 # select * from pg_user where usename = CURRENT_USER; usename | usesysid | usecreatedb | usesuper | userepl | usebypassrls | passwd | valuntil | useconfig ------------+----------+------\u2026","published":"2016-11-26 23:05:22","type":"rich","image_url":null,"author_url":"https://blog.hatena.ne.jp/shuzo_kino/","height":"190","author_name":"shuzo_kino","blog_title":"Bye Bye Moore"}