{"id":10,"date":"2007-10-20T13:33:33","date_gmt":"2007-10-20T04:33:33","guid":{"rendered":"http:\/\/hmp.lar.jp\/wordpress\/?p=9"},"modified":"2016-12-03T22:28:30","modified_gmt":"2016-12-03T13:28:30","slug":"%e3%81%aa%e3%81%a7%e3%81%97%e3%81%93%e3%81%a7rdb-postgresql","status":"publish","type":"post","link":"https:\/\/www.choco.org.uk\/chocodb\/?p=10","title":{"rendered":"\u306a\u3067\u3057\u3053\u3067RDB PostgreSQL"},"content":{"rendered":"<p>\u57fa\u672c\u7684\u306bPostgreSQ\u306f\u3010ADO\u958b\u304f\u3011\u63a5\u7d9a\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<hr \/>\n<p>\u25a0\u3000\u63a5\u7d9a\u6587\u5b57\u5217\u306b\u3088\u308b\u63a5\u7d9a\u4f8b\u3000\u25a0<\/p>\n<hr \/>\n<p>\u300cDriver=PostgreSQL Unicode;Server=\u30b5\u30fc\u30d0\u30fc\u30a2\u30c9\u30ec\u30b9;Database=\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d;UID=\uff29\uff24;PWD=\u30d1\u30b9\u30ef\u30fc\u30c9;Port=\u30dd\u30fc\u30c8\u756a\u53f7;\u300d\u3067ADO\u958b\u304f<br \/>\n<span style=\"color: #ff0000;\">\u203bDriver\u540d\u306b\u3064\u3044\u3066\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3042\u308bODBC\u30c9\u30e9\u30a4\u30d0\u306b\u3088\u3063\u3066\u5909\u308f\u308a\u307e\u3059\u306e\u3067\u3054\u6ce8\u610f\u4e0b\u3055\u3044\u3002<\/span><br \/>\n\uff08\u4f8b\uff1aPostgreSQL ANSI\uff09<br \/>\n<br \/>\nODBC\u30c9\u30e9\u30a4\u30d0\u3092\u30d1\u30bd\u30b3\u30f3\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u4e0a\u8a18\u306e\u63a5\u7d9a\u6587\u5b57\u5217\u3067DB\u306b\u63a5\u7d9a\u3059\u308c\u3070\u30d1\u30bd\u30b3\u30f3\u5074\u306fODBC\u30c9\u30e9\u30a4\u30d0\u306e\u8a2d\u5b9a\u304c\u4e0d\u8981\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3060\u3051\u306a\u306e\u3067\u3001DB\u63a5\u7d9a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u591a\u6570\u306e\u4eba\u306b\u914d\u5e03\u3059\u308b\u6642\u306f\u697d\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<hr \/>\n<p>\u25a0\u3000PostgreSQL\u5074\u306e\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u3000\u25a0<\/p>\n<hr \/>\n<p>\uff11\uff0epgadmin<br \/>\nPostgreSQL\u306b\u306f\u3001\u5c02\u7528\u306e\u30a2\u30c9\u30df\u30f3\u30c4\u30fc\u30eb\u304c\u4ed8\u5c5e\u3057\u3066\u3044\u307e\u3059\uff08pgadmin\uff09<br \/>\nPostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001\u307e\u305a\u306f\u3053\u308c\u3092\u8d77\u52d5\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p>\u540d\u524d\uff1a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u540d\u524d\u3067\u3059\u3002<br \/>\n\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\uff1a\u6f22\u5b57\u30b3\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u3066\u4e0b\u3055\u3044\u3002<br \/>\n\u30c6\u30fc\u30d6\u30eb\u7a7a\u9593\uff1apg_default<\/p>\n<p>\u3053\u306e\u4e09\u3064\u3092\u8a2d\u5b9a\u3059\u308b\u3060\u3051\u3067\u3044\u3044\u3067\u3059\u3002<\/p>\n<p>\uff12\uff0eODBC\u306e\u8a2d\u5b9a<br \/>\n<span style=\"color: #ff0000;\">\u203b\u63a5\u7d9a\u6587\u5b57\u5217\u306b\u3088\u308b\u63a5\u7d9a\u3092\u4f7f\u7528\u3057\u306a\u3044\u5834\u5408\u306f\u3001\u3053\u3061\u3089\u306e\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002<\/span><br \/>\n\u6700\u65b0\u306ePostgreSQL\u306f\u3001ODBC\u304c\u6a19\u6e96\u3067\u68b1\u5305\u3055\u308c\u3066\u307e\u3059\u306e\u3067\u3001\u5225\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d1\u30cd\u30eb\uff0d\u7ba1\u7406\u30c4\u30fc\u30eb\uff0d\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\uff08\uff2f\uff24\uff22\uff23\uff09\u304b\u3089\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b7\u30b9\u30c6\u30e0DSN\u30bf\u30d6\u306e\u4e2d\u306e\u8ffd\u52a0\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304b\u3089\u3001PostgreSQL\u306eODBC\u3092\u9078\u629e\u3057\u3066\u4e0b\u3055\u3044\u3002\u305d\u306e\u969b\u306b\u3001\u306a\u308b\u3079\u304f\u3067\u3059\u304cANSI\u65b9\u5f0f\u3067\u306a\u304f\u3001Unicode\u3092\u9078\u629e\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p>\u30fb\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u540d\uff1a\u3000\u306a\u3067\u3057\u3053\u3067\u6307\u5b9a\u3059\u308b\u540d\u79f0<br \/>\n\uff65\u30b5\u30fc\u30d0\u30fc\u540d\uff1a\u3000PostgreSQL\u306e\u5165\u3063\u3066\u3044\u308b\uff30\uff23\u306e\u540d\u79f0\uff08IP\u30a2\u30c9\u30ec\u30b9\u3067\u3082\u53ef\uff09<br \/>\n\uff65\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\uff1aPostgreSQL\u306eDB\u540d\uff08DB\u306f\u3001PostgreSQL\u306epgadmin3\u3067\u4f5c\u6210\u3002\uff09<br \/>\n\u30fb\u30e6\u30fc\u30b6\u30fc\u540d\uff1aODBC\u304cPostgreSQL\u306b\u63a5\u7d9a\u3059\u308b\u6642\u306e\u30ed\u30b0\u30a4\u30f3\u540d<br \/>\n\u30fb\u30d1\u30b9\u30ef\u30fc\u30c9\uff1a\u00a0ODBC\u304cPostgreSQL\u306b\u63a5\u7d9a\u3059\u308b\u6642\u306e\u30d1\u30b9\u30ef\u30fc\u30c9<\/p>\n<p>\u3053\u3053\u307e\u3067\u51fa\u6765\u305f\u3089\u3001\u306a\u3067\u3057\u3053\u3067RDB ODBC\u3092\u53c2\u8003\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3057\u3066\u898b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3042\u3001\u3010Create\u00a0Table\u3011\u547d\u4ee4\u3067\u306a\u3067\u3057\u3053\u304b\u3089\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3059\u308b\u306e\u3092\u5fd8\u308c\u305a\u306b\uff01\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u57fa\u672c\u7684\u306bPostgreSQ\u306f\u3010ADO\u958b\u304f\u3011\u63a5\u7d9a\u306b\u306a\u308a\u307e\u3059\u3002 \u25a0\u3000\u63a5\u7d9a\u6587\u5b57\u5217\u306b\u3088\u308b\u63a5\u7d9a\u4f8b\u3000\u25a0 \u300cDriver=PostgreSQL Unicode;Server=\u30b5\u30fc\u30d0\u30fc\u30a2\u30c9\u30ec\u30b9;Database=\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d;UID= [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,26],"tags":[62,96],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-postgresql","category-rdb","tag-62","tag-96"],"_links":{"self":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":26,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":1442,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions\/1442"}],"wp:attachment":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}