{"title":" PostgreSQL + ActiveRecord\u3067\uff0c\u5c5e\u6027\u540d\u306b\u60a9\u3080","published":"2010-07-16 06:19:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakehikom.hateblo.jp%2Fentry%2F20100716%2F1279228740\" title=\" PostgreSQL + ActiveRecord\u3067\uff0c\u5c5e\u6027\u540d\u306b\u60a9\u3080 - \u308f\u3055\u3063\u304dhb\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u30b7\u30a7\u30eb\u304b\u3089\uff0cpsql abc xyz\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3067\uff0c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9abc\u306b\uff0c\u30e6\u30fc\u30b6xyz\u3068\u3057\u3066\u63a5\u7d9a\u3059\u308b\u3068\u3057\u307e\u3059\uff0e\u305d\u3057\u3066\uff0c\u300cselect user;\u300d\u3068\u300cselect usr;\u300d\u3092\u554f\u3044\u5408\u308f\u305b\u308b\u3068\uff0c\u7d50\u679c\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff0e xyz=> select user; current_user -------------- xyz (1 \u884c) xyz=> select usr; ERROR: \u5217\"usr\"\u306f\u5b58\u5728\u3057\u307e\u305b\u3093 \u884c 1: select usr; ^\u3053\u3053\u3067\u51fa\u308buser\u306f\uff0c\u73fe\u5728\u5b9f\u884c\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u540d\u3092\u8fd4\u3059\u95a2\u6570\u3067\u3042\u308a\uff0ccurrent_user\u3068\u540c\u3058\u3067\u3042\u308b\u3053\u3068\u304c\uff0c\u3053\u3053\u3084\u3053\u3053\u306b\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\uff0e","blog_title":"\u308f\u3055\u3063\u304dhb","version":"1.0","width":"100%","author_url":"https://blog.hatena.ne.jp/takehikom/","author_name":"takehikom","type":"rich","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","blog_url":"https://takehikom.hateblo.jp/","height":"190","image_url":null,"categories":["computing","Ruby"],"url":"https://takehikom.hateblo.jp/entry/20100716/1279228740"}