{"id":184,"date":"2022-11-12T04:05:36","date_gmt":"2023-09-01T10:51:27","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/rocky-linux-9%e3%81%abpostgresql%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/"},"modified":"2025-07-31T21:28:35","modified_gmt":"2025-07-31T12:28:35","slug":"rocky-linux-9%e3%81%abpostgresql%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abpostgresql%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","title":{"rendered":"Rocky Linux 9\u306bPostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5"},"content":{"rendered":"<h3>\u306f\u3058\u3081\u306b<\/h3>\n<p>\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u306f\u3001\u591a\u304f\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u91cd\u8981\u306a\u8981\u7d20\u3067\u3059\u3002\u60c5\u5831\u3092\u6574\u7406\u3057\u3001\u4fdd\u5b58\u3057\u3001\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306e\u69cb\u9020\u5316\u3055\u308c\u305f\u65b9\u6cd5\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<p>PostgreSQL\u3001\u307e\u305f\u306fPostgres\u3068\u3057\u3066\u3082\u77e5\u3089\u308c\u308b\u3082\u306e\u306f\u3001SQL\u3068\u3057\u3066\u3082\u77e5\u3089\u308c\u308b\u69cb\u9020\u5316\u30af\u30a8\u30ea\u8a00\u8a9e\u306e\u5b9f\u88c5\u3092\u63d0\u4f9b\u3059\u308b\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3067\u3059\u3002\u591a\u304f\u306e\u4eba\u6c17\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u5229\u7528\u3055\u308c\u3066\u304a\u308a\u3001\u5927\u898f\u6a21\u306a\u3082\u306e\u304b\u3089\u5c0f\u898f\u6a21\u306a\u3082\u306e\u307e\u3067\u3001\u6a19\u6e96\u306b\u6e96\u62e0\u3057\u3066\u304a\u308a\u983c\u308a\u306b\u306a\u308b\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3084\u4e26\u884c\u6027\u306a\u3069\u306e\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3082\u5099\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30ac\u30a4\u30c9\u306b\u5f93\u3046\u3053\u3068\u3067\u3001Rocky Linux 9 \u30b5\u30fc\u30d0\u30fc\u306b\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e PostgreSQL \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u5b8c\u4e86\u3059\u308b\u306b\u306f\u3001Rocky Linux 9\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d0\u30fc\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b5\u30fc\u30d0\u30fc\u306b\u306f\u3001\u7ba1\u7406\u8005\u7279\u6a29\u3092\u6301\u3064\u975e\u30eb\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u3068\u3001firewalld\u3067\u69cb\u6210\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u308c\u3092\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u3001Rocky Linux 9\u306e\u521d\u671f\u30b5\u30fc\u30d0\u30fc\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30ac\u30a4\u30c9\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d71 &#8211; PostgreSQL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>Rocky Linux\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u3001PostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Rocky\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3067\u3042\u308bdnf\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001Postgres\u306e\u591a\u8a00\u8a9e\u30b5\u30dd\u30fc\u30c8\u3092\u6539\u5584\u3059\u308b\u305f\u3081\u306b\u3001\u540c\u6642\u306bglibc-all-langpacks\u3068\u3044\u3046\u5225\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4e21\u65b9\u3092dnf install\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> dnf <span class=\"token function\">install<\/span> postgresql-server glibc-all-langpacks<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u3001y\u3092\u62bc\u3057\u3066ENTER\u30ad\u30fc\u3092\u62bc\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001Rocky Linux 9\u306fPostgreSQL\u306e\u30d0\u30fc\u30b8\u30e7\u30f313\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3089\u3001\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u30bf\u30fc\u3092\u6e96\u5099\u3059\u308b\u305f\u3081\u306e\u521d\u671f\u5316\u624b\u9806\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d72 \u2014 \u65b0\u3057\u3044 PostgreSQL \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u30bf\u306e\u4f5c\u6210<\/h2>\n<p>\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3057\u3001\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3080\u524d\u306b\u3001\u65b0\u3057\u3044PostgreSQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u30bf\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u30bf\u3068\u306f\u3001\u5358\u4e00\u306e\u30b5\u30fc\u30d0\u30fc\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u7ba1\u7406\u3055\u308c\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3067\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u30bf\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c7\u30fc\u30bf\u304c\u914d\u7f6e\u3055\u308c\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u5171\u6709\u30ab\u30bf\u30ed\u30b0\u30c6\u30fc\u30d6\u30eb\u3092\u751f\u6210\u3057\u3001template1\u3068postgres\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c81\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u3001\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3059\u3002template1\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u3059\u3079\u3066\u306e\u3082\u306e\uff08\u81ea\u8eab\u3067\u8ffd\u52a0\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3082\u542b\u3080\uff09\u306f\u3001\u65b0\u3057\u304f\u4f5c\u6210\u3055\u308c\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002Postgres\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u3001\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3001\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u8a2d\u8a08\u3055\u308c\u305f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3059\u3002<\/p>\n<p>\u524d\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fPostgres\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u306f\u3001\u4f4e\u30ec\u30d9\u30eb\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u30bf\u7ba1\u7406\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u4fbf\u5229\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u300cpostgresql-setup\u300d\u304c\u4ed8\u5c5e\u3057\u3066\u3044\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u30bf\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001sudo\u3092\u4f7f\u7528\u3057\u3066\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u3001&#8211;initdb\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> postgresql-setup <span class=\"token parameter variable\">&#8211;initdb<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u51fa\u529b\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>* Initializing database in &#8216;\/var\/lib\/pgsql\/data&#8217; * Initialized, logs are in \/var\/lib\/pgsql\/initdb_postgresql.log<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>systemctl\u3092\u4f7f\u3063\u3066PostgreSQL\u30b5\u30fc\u30d3\u30b9\u3092\u8d77\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl start postgresql<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u308c\u304b\u3089\u3001\u518d\u3073systemctl\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b5\u30fc\u30d0\u30fc\u8d77\u52d5\u6642\u306b\u30b5\u30fc\u30d3\u30b9\u3092\u81ea\u52d5\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> postgresql<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u308c\u306b\u3088\u3063\u3066\u3001\u4ee5\u4e0b\u306e\u51fa\u529b\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Created symlink \/etc\/systemd\/system\/multi-user.target.wants\/postgresql.service \u2192 \/usr\/lib\/systemd\/system\/postgresql.service.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>PostgreSQL\u304c\u7a3c\u50cd\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u30ed\u30fc\u30eb\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u5b66\u3073\u3001\u904e\u53bb\u306b\u4f7f\u7528\u3057\u305f\u3053\u3068\u304c\u3042\u308b\u540c\u69d8\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3068\u306e\u9055\u3044\u3092\u7406\u89e3\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d73 &#8211; PostgreSQL\u306e\u30ed\u30fc\u30eb\u3068\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4f7f\u7528<\/h2>\n<p>PostgreSQL\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u8a8d\u8a3c\u3068\u8a8d\u53ef\u3092\u51e6\u7406\u3059\u308b\u305f\u3081\u306b\u300c\u30ed\u30fc\u30eb\u300d\u3068\u3044\u3046\u6982\u5ff5\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u4e00\u90e8\u306e\u70b9\u3067\u901a\u5e38\u306eUnix\u30b9\u30bf\u30a4\u30eb\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u4f3c\u3066\u3044\u307e\u3059\u304c\u3001Postgres\u3067\u306f\u30e6\u30fc\u30b6\u30fc\u3068\u30b0\u30eb\u30fc\u30d7\u3092\u533a\u5225\u305b\u305a\u3001\u4ee3\u308f\u308a\u306b\u3088\u308a\u67d4\u8edf\u306a\u300c\u30ed\u30fc\u30eb\u300d\u3068\u3044\u3046\u7528\u8a9e\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u3001Postgres\u306f ident \u8a8d\u8a3c\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u3001Postgres\u306e\u30ed\u30fc\u30eb\u3092\u4e00\u81f4\u3059\u308bUnix\/Linux\u30b7\u30b9\u30c6\u30e0\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u95a2\u9023\u4ed8\u3051\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002Postgres\u5185\u306b\u30ed\u30fc\u30eb\u304c\u5b58\u5728\u3059\u308b\u5834\u5408\u3001\u540c\u3058\u540d\u524d\u306eUnix\/Linux\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u3067\u305d\u306e\u30ed\u30fc\u30eb\u3068\u3057\u3066\u30b5\u30a4\u30f3\u30a4\u30f3\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306b\u3088\u3063\u3066\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306epostgres\u30ed\u30fc\u30eb\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305fpostgres\u3068\u3044\u3046\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u3002PostgreSQL\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u305d\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3001PostgreSQL\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u65b9\u6cd5\u306f\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>&#8220;\u30dd\u30b9\u30c8\u30b0\u30ec\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u5207\u308a\u66ff\u3048\u308b\u3002&#8221;<\/h3>\n<p>\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u300c\u30dd\u30b9\u30c8\u30b0\u30ec\u30b9\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u5207\u308a\u66ff\u3048\u308b\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u300d<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token parameter variable\">-i<\/span> <span class=\"token parameter variable\">-u<\/span> postgres<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3059\u3050\u306bPostgres\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"[postgres@server ~$]\">psql<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001PostgreSQL\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u30ed\u30b0\u30a4\u30f3\u3055\u308c\u3001\u3053\u3053\u304b\u3089\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3068\u81ea\u7531\u306b\u3084\u308a\u53d6\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30dd\u30b9\u30c8\u30b0\u30ecSQL\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u7d42\u4e86\u3059\u308b\u306b\u306f\u3001\u5165\u529b\u3057\u3066\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"postgres=#\"><span class=\"token punctuation\">\\<\/span>q<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u3042\u306a\u305f\u306f\u30dd\u30b9\u30c8\u30b0\u30ec\u30b9\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306eLinux\u306e\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u623b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u5143\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u623b\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"[postgres@server ~$]\"><span class=\"token builtin class-name\">exit<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<h3>\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u5207\u308a\u66ff\u3048\u305a\u306bPostgres\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/h3>\n<p>sudo\u3092\u4f7f\u7528\u3057\u3066\u3001postgres\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u76f4\u63a5\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u524d\u306e\u4f8b\u3067\u306f\u3001\u307e\u305a\u306fpostgres\u30e6\u30fc\u30b6\u30fc\u306b\u5207\u308a\u66ff\u3048\u3066\u304b\u3089psql\u3092\u5b9f\u884c\u3057\u3066Postgres\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3088\u3046\u6307\u793a\u3055\u308c\u307e\u3057\u305f\u3002\u4ee3\u308f\u308a\u306b\u3001\u6b21\u306e\u3088\u3046\u306bsudo\u3092\u4f7f\u3063\u3066postgres\u30e6\u30fc\u30b6\u30fc\u3068\u3057\u3066\u5358\u4e00\u306e\u30b3\u30de\u30f3\u30c9psql\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u3053\u308c\u30921\u3064\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u884c\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token parameter variable\">-u<\/span> postgres psql<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u4e2d\u9593\u306ebash\u30b7\u30a7\u30eb\u306a\u3057\u3067\u76f4\u63a5Postgres\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002<\/p>\n<p>\u518d\u3073\u3001\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306aPostgres\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u7d42\u4e86\u3059\u308b\u306b\u306f\u3001\u5165\u529b\u3059\u308b\u3053\u3068\u3067\u9000\u51fa\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"postgres=#\"><span class=\"token punctuation\">\\<\/span>q<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001psql\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306bpostgres\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u591a\u304f\u306e\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u3067\u306f1\u3064\u4ee5\u4e0a\u306ePostgres\u30ed\u30fc\u30eb\u304c\u5fc5\u8981\u3067\u3059\u3002\u65b0\u3057\u3044\u30ed\u30fc\u30eb\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3076\u305f\u3081\u306b\u7d9a\u3051\u3066\u8aad\u3093\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d74- \u65b0\u3057\u3044\u5f79\u5272\u306e\u4f5c\u6210<\/h2>\n<p>\u73fe\u5728\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5185\u3067\u306fPostgres\u306e\u5f79\u5272\u306e\u307f\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067createrole\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u65b0\u3057\u3044\u5f79\u5272\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002&#8211;interactive\u30d5\u30e9\u30b0\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u65b0\u3057\u3044\u5f79\u5272\u306e\u540d\u524d\u3092\u5165\u529b\u3059\u308b\u3088\u3046\u306b\u6c42\u3081\u3089\u308c\u3001\u307e\u305f\u30b9\u30fc\u30d1\u30fc\u30e6\u30fc\u30b6\u30fc\u306e\u6a29\u9650\u3092\u6301\u3064\u304b\u3069\u3046\u304b\u3082\u5c0b\u306d\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u30dd\u30b9\u30c8\u30b0\u30ec\u30b9\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u6b21\u306e\u3088\u3046\u306b\u5165\u529b\u3059\u308b\u3053\u3068\u3067\u65b0\u3057\u3044\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"[postgres@server ~$]\">createuser <span class=\"token parameter variable\">&#8211;interactive<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3082\u3057\u3082\u3001\u901a\u5e38\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u304b\u3089\u5207\u308a\u66ff\u3048\u308b\u5fc5\u8981\u306a\u304f\u3001\u5404\u30b3\u30de\u30f3\u30c9\u3054\u3068\u306bsudo\u3092\u4f7f\u7528\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token parameter variable\">-u<\/span> postgres createuser <span class=\"token parameter variable\">&#8211;interactive<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u9078\u629e\u80a2\u3092\u63d0\u793a\u3057\u3001\u3042\u306a\u305f\u306e\u56de\u7b54\u306b\u57fa\u3065\u3044\u3066\u5fc5\u8981\u306aPostgres\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u6307\u5b9a\u3057\u305f\u4ed5\u69d8\u306b\u5408\u3046\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001sammy\u3068\u3044\u3046\u540d\u524d\u306e\u30ed\u30fc\u30eb\u3092\u4f5c\u6210\u3057\u3001y\u3068\u6c42\u3081\u3089\u308c\u305f\u5834\u5408\u306b\u306f\u30b9\u30fc\u30d1\u30fc\u30e6\u30fc\u30b6\u30fc\u7279\u6a29\u3092\u4ed8\u4e0e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Enter name of role to add: <mark>sammy<\/mark> Shall the new role be a superuser? (y\/n) <mark>y<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u8ffd\u52a0\u306e\u30d5\u30e9\u30b0\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u3055\u3089\u306b\u5236\u5fa1\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002createuser\u306e\u30de\u30f3\u30da\u30fc\u30b8\u3092\u53c2\u7167\u3057\u3066\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">man<\/span> createuser<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306ePostgres\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u306f\u65b0\u3057\u3044\u30ed\u30fc\u30eb\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u304c\u3001\u307e\u3060\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u8ffd\u52a0\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d75 \u2014 \u65b0\u3057\u3044\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3059\u308b<\/h2>\n<p>Postgres\u306e\u8a8d\u8a3c\u30b7\u30b9\u30c6\u30e0\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u306b\u3088\u308b\u5225\u306e\u4eee\u5b9a\u306f\u3001\u30ed\u30b0\u30a4\u30f3\u306b\u4f7f\u7528\u3055\u308c\u308b\u5f79\u5272\u306b\u5bfe\u3057\u3066\u3001\u305d\u306e\u5f79\u5272\u3068\u540c\u3058\u540d\u524d\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u524d\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u4f5c\u6210\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u304c\u300csammy\u300d\u3068\u3044\u3046\u540d\u524d\u306e\u5834\u5408\u3001\u305d\u306e\u30ed\u30fc\u30eb\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u300csammy\u300d\u3068\u3044\u3046\u540d\u524d\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3092\u8a66\u307f\u307e\u3059\u3002createdb\u30b3\u30de\u30f3\u30c9\u3067\u305d\u306e\u3088\u3046\u306a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3082\u3057\u3082\u3042\u306a\u305f\u304c\u30dd\u30b9\u30c8\u30b0\u30ec\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"[postgres@server ~$]\">createdb <mark>sammy<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3082\u3057\u3082\u3001\u901a\u5e38\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u5207\u308a\u66ff\u3048\u305a\u306b\u3059\u3079\u3066\u306e\u30b3\u30de\u30f3\u30c9\u306bsudo\u3092\u4f7f\u7528\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token parameter variable\">-u<\/span> postgres createdb <mark>sammy<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u67d4\u8edf\u6027\u306b\u3088\u308a\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u8907\u6570\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u3055\u307e\u3056\u307e\u306a\u9078\u629e\u80a2\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u306e\u3067\u3001\u65b0\u3057\u3044\u6a29\u9650\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d76 &#8211; \u65b0\u3057\u3044\u30ed\u30fc\u30eb\u3067Postgres\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u304f<\/h2>\n<p>ident\u30d9\u30fc\u30b9\u306e\u8a8d\u8a3c\u3067\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u306b\u306f\u3001Postgres\u306e\u5f79\u5272\u3068\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u540c\u3058\u540d\u524d\u3092\u6301\u3064Linux\u30e6\u30fc\u30b6\u30fc\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>Linux\u30e6\u30fc\u30b6\u30fc\u304c\u4e00\u81f4\u3057\u306a\u3044\u5834\u5408\u306f\u3001adduser\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u975e\u30eb\u30fc\u30c8\u30a2\u30ab\u30a6\u30f3\u30c8\u3067sudo\u6a29\u9650\u3092\u6301\u3063\u3066\u3044\u308b\u5834\u5408\u306b\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff08postgres\u30e6\u30fc\u30b6\u30fc\u3068\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\uff09\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> adduser <mark>sammy<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u65b0\u3057\u3044\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u5229\u7528\u53ef\u80fd\u306b\u306a\u308b\u3068\u3001\u5207\u308a\u66ff\u3048\u305f\u5f8c\u306b\u6700\u521d\u306b\u300c\u30bf\u30a4\u30d7\u3059\u308b\u300d\u3068\u3057\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token parameter variable\">-i<\/span> <span class=\"token parameter variable\">-u<\/span> <mark>sammy<\/mark><\/li>\n<li data-prefix=\"$\">psql<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u308c\u304b\u3001\u76f4\u63a5\u3053\u3061\u3089\u3067\u884c\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token parameter variable\">-u<\/span> <mark>sammy<\/mark> psql<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308c\u3070\u3001\u81ea\u52d5\u7684\u306b\u30ed\u30b0\u30a4\u30f3\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3082\u3057\u30e6\u30fc\u30b6\u30fc\u306b\u5225\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u63a5\u7d9a\u3057\u3066\u3082\u3089\u3044\u305f\u3044\u5834\u5408\u306f\u3001-d\u30d5\u30e9\u30b0\u3092\u542b\u3081\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u3053\u3046\u3067\u3059\uff1a<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"[sammy@server ~$]\">psql <span class=\"token parameter variable\">-d<\/span> <mark>sammy<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u5f8c\u3001\u6b21\u306e\u3088\u3046\u306b\u5165\u529b\u3059\u308b\u3053\u3068\u3067\u73fe\u5728\u306e\u63a5\u7d9a\u60c5\u5831\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"sammy=#\"><span class=\"token punctuation\">\\<\/span>conninfo<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u51fa\u529b\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>You are connected to database &#8220;<mark>sammy<\/mark>&#8221; as user &#8220;<mark>sammy<\/mark>&#8221; via socket in &#8220;\/var\/run\/postgresql&#8221; at port &#8220;5432&#8221;.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u4ee5\u5916\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u5834\u5408\u3084\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u4ee5\u5916\u306e\u30e6\u30fc\u30b6\u30fc\u3067\u63a5\u7d9a\u3059\u308b\u5834\u5408\u306b\u306f\u3001\u3053\u308c\u304c\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3057\u305f\u3089\u3001\u30c6\u30fc\u30d6\u30eb\u306e\u4f5c\u6210\u3068\u524a\u9664\u3092\u8a66\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d77 &#8211; \u30c6\u30fc\u30d6\u30eb\u306e\u4f5c\u6210\u3068\u524a\u9664<\/h2>\n<p>PostgreSQL\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b7\u30b9\u30c6\u30e0\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u3092\u77e5\u3063\u305f\u4eca\u3001\u3044\u304f\u3064\u304b\u306e\u57fa\u672c\u7684\u306aPostgres\u306e\u7ba1\u7406\u30bf\u30b9\u30af\u3092\u5b66\u3076\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u3044\u304f\u3064\u304b\u306e\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u3059\u308b\u305f\u3081\u306e\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u4f8b\u3068\u3057\u3066\u3001\u904a\u3073\u5834\u306e\u88c5\u7f6e\u3092\u8a18\u8ff0\u3059\u308b\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306e\u57fa\u672c\u7684\u306a\u69cb\u6587\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>CREATE TABLE <mark>table_name<\/mark> (\r\n    <mark>column_name1 col_type<\/mark> (<mark>field_length<\/mark>) <mark>column_constraints<\/mark>,\r\n    <mark>column_name2 col_type<\/mark> (<mark>field_length<\/mark>),\r\n    <mark>column_name3 col_type<\/mark> (<mark>field_length<\/mark>)\r\n);\r\n<\/code><\/pre>\n<p>\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u8868\u306b\u540d\u524d\u3092\u4ed8\u3051\u3001\u5217\u3068\u5217\u306e\u578b\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u30c7\u30fc\u30bf\u306e\u6700\u5927\u9577\u3055\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u5404\u5217\u306b\u30c6\u30fc\u30d6\u30eb\u5236\u7d04\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30e2\u30f3\u30b9\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3\u76ee\u7684\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002 (Demonosutoreeshon mokuteki de, ika no you na teeburu o sakusei shite kudasai.)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"sammy=#\">CREATE TABLE playground <span class=\"token punctuation\">(<\/span><\/li>\n<li data-prefix=\"sammy=#\">equip_id serial PRIMARY KEY,<\/li>\n<li data-prefix=\"sammy=#\"><span class=\"token builtin class-name\">type<\/span> varchar <span class=\"token punctuation\">(<\/span><span class=\"token number\">50<\/span><span class=\"token punctuation\">)<\/span> NOT NULL,<\/li>\n<li data-prefix=\"sammy=#\">color varchar <span class=\"token punctuation\">(<\/span><span class=\"token number\">25<\/span><span class=\"token punctuation\">)<\/span> NOT NULL,<\/li>\n<li data-prefix=\"sammy=#\">location varchar<span class=\"token punctuation\">(<\/span><span class=\"token number\">25<\/span><span class=\"token punctuation\">)<\/span> check <span class=\"token punctuation\">(<\/span>location <span class=\"token keyword\">in<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token string\">&#8216;north&#8217;<\/span>, <span class=\"token string\">&#8216;south&#8217;<\/span>, <span class=\"token string\">&#8216;west&#8217;<\/span>, <span class=\"token string\">&#8216;east&#8217;<\/span>, <span class=\"token string\">&#8216;northeast&#8217;<\/span>, <span class=\"token string\">&#8216;southeast&#8217;<\/span>, <span class=\"token string\">&#8216;southwest&#8217;<\/span>, <span class=\"token string\">&#8216;northwest&#8217;<\/span><span class=\"token punctuation\">))<\/span>,<\/li>\n<li data-prefix=\"sammy=#\">install_date <span class=\"token function\">date<\/span><\/li>\n<li data-prefix=\"sammy=#\"><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u904a\u3073\u5834\u306e\u8a2d\u5099\u3092\u5728\u5eab\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u307e\u305a\u3001\u8a2d\u5099ID\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u308c\u306f\u30b7\u30ea\u30a2\u30eb\u30bf\u30a4\u30d7\u3067\u3059\u3002\u3053\u306e\u30c7\u30fc\u30bf\u578b\u306f\u81ea\u52d5\u7684\u306b\u5897\u52a0\u3059\u308b\u6574\u6570\u3067\u3059\u3002\u307e\u305f\u3001\u3053\u306e\u5217\u306b\u306fPRIMARY KEY\u306e\u5236\u7d04\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u304a\u308a\u3001\u5024\u306f\u4e00\u610f\u3067\u3042\u308a\u3001null\u3067\u306f\u306a\u3044\u3053\u3068\u3092\u610f\u5473\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>2\u3064\u306e\u5217\uff08equip_id\u3068install_date\uff09\u306b\u5bfe\u3057\u3066\u3001\u30b3\u30de\u30f3\u30c9\u3067\u306f\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u9577\u3055\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u3001\u4e00\u90e8\u306e\u5217\u306e\u30bf\u30a4\u30d7\u306b\u304a\u3044\u3066\u306f\u3001\u30bf\u30a4\u30d7\u306b\u3088\u3063\u3066\u9577\u3055\u304c\u6697\u793a\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u305f\u3081\u3067\u3059\u3002<\/p>\n<p>\u6b21\u306e2\u884c\u306f\u3001\u305d\u308c\u305e\u308c\u6a5f\u5668\u306e\u7a2e\u985e\u3068\u8272\u306e\u5217\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3069\u3061\u3089\u306e\u5217\u3082\u7a7a\u306b\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u305d\u308c\u3089\u306e\u5f8c\u308d\u306b\u3042\u308b\u884c\u306f\u3001\u5834\u6240\u306e\u5217\u3092\u4f5c\u6210\u3057\u3001\u5024\u304c8\u3064\u306e\u53ef\u80fd\u306a\u5024\u306e1\u3064\u3067\u3042\u308b\u3053\u3068\u3092\u8981\u6c42\u3059\u308b\u5236\u7d04\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u6700\u5f8c\u306e\u884c\u306f\u3001\u6a5f\u5668\u3092\u8a2d\u7f6e\u3057\u305f\u65e5\u4ed8\u3092\u8a18\u9332\u3059\u308b\u65e5\u4ed8\u306e\u5217\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u300c\u30bf\u30a4\u30d7\u3059\u308b\u3053\u3068\u3067\u3001\u65b0\u3057\u3044\u30c6\u30fc\u30d6\u30eb\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u300d<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"sammy=#\"><span class=\"token punctuation\">\\<\/span>d<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6b21\u306e\u51fa\u529b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>List of relations Schema | Name | Type | Owner &#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;-+&#8212;&#8212;- public | playground | table | sammy public | playground_equip_id_seq | sequence | sammy (2 rows)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306e\u904a\u3073\u5834\u306e\u30c6\u30fc\u30d6\u30eb\u304c\u3053\u3053\u306b\u3042\u308a\u307e\u3059\u304c\u3001playground_equip_id_seq\u3068\u3044\u3046\u540d\u524d\u306e\u3082\u306e\u3082\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u30b7\u30fc\u30b1\u30f3\u30b9\u578b\u306e\u30c6\u30fc\u30d6\u30eb\u3067\u3059\u3002\u3053\u308c\u306f\u3001equip_id\u5217\u306b\u6307\u5b9a\u3057\u305f\u30b7\u30ea\u30a2\u30eb\u578b\u306e\u8868\u73fe\u3067\u3059\u3002\u3053\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u306f\u3001\u6b21\u306e\u756a\u53f7\u3092\u81ea\u52d5\u7684\u306b\u8ffd\u8de1\u3057\u3001\u3053\u306e\u578b\u306e\u5217\u306e\u305f\u3081\u306b\u81ea\u52d5\u7684\u306b\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30b7\u30fc\u30b1\u30f3\u30b9\u629c\u304d\u3067\u30c6\u30fc\u30d6\u30eb\u3060\u3051\u898b\u305f\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u5165\u529b\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"sammy=#\"><span class=\"token punctuation\">\\<\/span>dt<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6b21\u306e\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002 (Tsugi no kekka ga eraremasu.)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>List of relations Schema | Name | Type | Owner &#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;-+&#8212;&#8212;- public | playground | table | sammy (1 row)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001\u30b5\u30f3\u30d7\u30eb\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001\u305d\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u30a8\u30f3\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u3001\u30af\u30a8\u30ea\u3092\u5b9f\u884c\u3057\u3001\u524a\u9664\u3059\u308b\u3053\u3068\u3092\u8a66\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d78 \u2014 \u30c6\u30fc\u30d6\u30eb\u306b\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3001\u30af\u30a8\u30ea\u3001\u524a\u9664\u3059\u308b<\/h2>\n<p>\u30c6\u30fc\u30d6\u30eb\u3092\u6301\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u30c7\u30fc\u30bf\u3092\u633f\u5165\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u8ffd\u52a0\u3057\u305f\u3044\u30c6\u30fc\u30d6\u30eb\u3092\u547c\u3073\u51fa\u3057\u3001\u5217\u306e\u540d\u524d\u3092\u6307\u5b9a\u3057\u3001\u305d\u308c\u305e\u308c\u306e\u5217\u306b\u30c7\u30fc\u30bf\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067\u3001\u30b9\u30e9\u30a4\u30c9\u3068\u30d6\u30e9\u30f3\u30b3\u3092\u8ffd\u52a0\u3059\u308b\u30b9\u30e9\u30a4\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"sammy=#\">INSERT INTO playground <span class=\"token punctuation\">(<\/span>type, color, location, install_date<span class=\"token punctuation\">)<\/span> VALUES <span class=\"token punctuation\">(<\/span><span class=\"token string\">&#8216;slide&#8217;<\/span>, <span class=\"token string\">&#8216;blue&#8217;<\/span>, <span class=\"token string\">&#8216;south&#8217;<\/span>, <span class=\"token string\">&#8216;2017-04-28&#8217;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/li>\n<li data-prefix=\"sammy=#\">INSERT INTO playground <span class=\"token punctuation\">(<\/span>type, color, location, install_date<span class=\"token punctuation\">)<\/span> VALUES <span class=\"token punctuation\">(<\/span><span class=\"token string\">&#8216;swing&#8217;<\/span>, <span class=\"token string\">&#8216;yellow&#8217;<\/span>, <span class=\"token string\">&#8216;northwest&#8217;<\/span>, <span class=\"token string\">&#8216;2018-08-16&#8217;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30c7\u30fc\u30bf\u3092\u5165\u529b\u3059\u308b\u969b\u306b\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u4e00\u822c\u7684\u306a\u30df\u30b9\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u6c17\u3092\u4ed8\u3051\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305a\u3001\u5217\u540d\u3092\u5f15\u7528\u7b26\u3067\u56f2\u307e\u305a\u3001\u5217\u306e\u5024\u306e\u307f\u3092\u5f15\u7528\u7b26\u3067\u56f2\u3093\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u8003\u616e\u3059\u3079\u304d\u5225\u306e\u30dd\u30a4\u30f3\u30c8\u306f\u3001equip_id\u5217\u306b\u5024\u3092\u5165\u529b\u3057\u306a\u3044\u3053\u3068\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u30c6\u30fc\u30d6\u30eb\u306e\u65b0\u3057\u3044\u884c\u304c\u4f5c\u6210\u3055\u308c\u308b\u305f\u3073\u306b\u81ea\u52d5\u7684\u306b\u751f\u6210\u3055\u308c\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n<p>\u30bf\u30a4\u30d7\u3057\u3066\u8ffd\u52a0\u3057\u305f\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"sammy=#\">SELECT * FROM playground<span class=\"token punctuation\">;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u51fa\u529b\u304c\u8868\u793a\u3055\u308c\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>equip_id | type | color | location | install_date &#8212;&#8212;&#8212;-+&#8212;&#8212;-+&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8211; 1 | slide | blue | south | 2017-04-28 2 | swing | yellow | northwest | 2018-08-16 (2 rows)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u3061\u3089\u3067\u306f\u3001\u3042\u306a\u305f\u306eequip_id\u304c\u6b63\u5e38\u306b\u5165\u529b\u3055\u308c\u3001\u4ed6\u306e\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u304c\u9069\u5207\u306b\u6574\u7406\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u904a\u3073\u5834\u306e\u6ed1\u308a\u53f0\u304c\u58ca\u308c\u3066\u53d6\u308a\u5916\u3055\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u5834\u5408\u3001\u30c6\u30fc\u30d6\u30eb\u306e\u884c\u3082\u30bf\u30a4\u30d4\u30f3\u30b0\u306b\u3088\u3063\u3066\u53d6\u308a\u9664\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"sammy=#\">DELETE FROM playground WHERE <span class=\"token builtin class-name\">type<\/span> <span class=\"token operator\">=<\/span> <span class=\"token string\">&#8216;slide&#8217;<\/span><span class=\"token punctuation\">;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30c6\u30fc\u30d6\u30eb\u3092\u518d\u5ea6\u7167\u4f1a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"sammy=#\">SELECT * FROM playground<span class=\"token punctuation\">;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u3082\u306e\u304c\u898b\u3048\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>equip_id | type | color | location | install_date &#8212;&#8212;&#8212;-+&#8212;&#8212;-+&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8211; 2 | swing | yellow | northwest | 2018-08-16 (1 row)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30b9\u30e9\u30a4\u30c9\u304c\u30c6\u30fc\u30d6\u30eb\u304b\u3089\u5916\u308c\u3066\u3044\u308b\u3053\u3068\u306b\u6c17\u4ed8\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3042\u306a\u305f\u304c\u30c6\u30fc\u30d6\u30eb\u306b\u9805\u76ee\u3092\u8ffd\u52a0\u3057\u305f\u308a\u524a\u9664\u3057\u305f\u308a\u3057\u305f\u306e\u3067\u3001\u5217\u306e\u8ffd\u52a0\u3068\u524a\u9664\u3082\u8a66\u3057\u3066\u307f\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>Step 9 \u2014 \u30c6\u30fc\u30d6\u30eb\u3078\u306e\u5217\u306e\u8ffd\u52a0\u3068\u524a\u9664<\/h2>\n<p>\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3057\u305f\u5f8c\u3001\u5217\u3092\u8ffd\u52a0\u307e\u305f\u306f\u524a\u9664\u3059\u308b\u3053\u3068\u3067\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u88c5\u7f6e\u3054\u3068\u306b\u6700\u5f8c\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u8a2a\u554f\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306b\u3001\u6b21\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u3066\u5217\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"sammy=#\">ALTER TABLE playground ADD last_maint <span class=\"token function\">date<\/span><span class=\"token punctuation\">;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3082\u3046\u4e00\u5ea6\u30c6\u30fc\u30d6\u30eb\u306e\u60c5\u5831\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001\u65b0\u3057\u3044\u5217\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u304c\u3001\u30c7\u30fc\u30bf\u306f\u5165\u529b\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"sammy=#\">SELECT * FROM playground<span class=\"token punctuation\">;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306f\u4ee5\u4e0b\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>equip_id | type | color | location | install_date | last_maint &#8212;&#8212;&#8212;-+&#8212;&#8212;-+&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212; 2 | swing | yellow | northwest | 2018-08-16 | (1 row)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3082\u3057\u3001\u3042\u306a\u305f\u304c\u81ea\u5206\u306e\u4f5c\u696d\u30c1\u30fc\u30e0\u304c\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u5c65\u6b74\u3092\u8ffd\u8de1\u3059\u308b\u305f\u3081\u306b\u5225\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3053\u3068\u306b\u6c17\u4ed8\u3044\u305f\u5834\u5408\u3001\u6b21\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u3066\u5217\u3092\u524a\u9664\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff1a<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"sammy=#\">ALTER TABLE playground DROP last_maint<span class=\"token punctuation\">;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6700\u5f8c\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u30ab\u30e9\u30e0\u3068\u305d\u306e\u4e2d\u306b\u3042\u308b\u5024\u3092\u524a\u9664\u3057\u307e\u3059\u304c\u3001\u4ed6\u306e\u30c7\u30fc\u30bf\u306f\u305d\u306e\u307e\u307e\u4fdd\u6301\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u6700\u7d42\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001\u5217\u3092\u8ffd\u52a0\u304a\u3088\u3073\u524a\u9664\u3057\u305f\u5f8c\u3067\u3001\u65e2\u5b58\u306e\u30c7\u30fc\u30bf\u3092\u66f4\u65b0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d710 &#8211; \u30c6\u30fc\u30d6\u30eb\u5185\u306e\u30c7\u30fc\u30bf\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002<\/h2>\n<p>\u3053\u308c\u307e\u3067\u306b\u3001\u30c6\u30fc\u30d6\u30eb\u306b\u30ec\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3068\u524a\u9664\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\u307e\u3057\u305f\u304c\u3001\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u65e2\u5b58\u306e\u30a8\u30f3\u30c8\u30ea\u306e\u4fee\u6b63\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u307e\u3060\u8aac\u660e\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>\u65e2\u5b58\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u306e\u5024\u3092\u66f4\u65b0\u3059\u308b\u306b\u306f\u3001\u5fc5\u8981\u306a\u30ec\u30b3\u30fc\u30c9\u3092\u30af\u30a8\u30ea\u3057\u3066\u3001\u4f7f\u7528\u3057\u305f\u3044\u5024\u306b\u30ab\u30e9\u30e0\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c6\u30fc\u30d6\u30eb\u5185\u306e\u3059\u3079\u3066\u306e\u30b9\u30a6\u30a3\u30f3\u30b0\u306b\u4e00\u81f4\u3059\u308b\u30b9\u30a6\u30a3\u30f3\u30b0\u30ec\u30b3\u30fc\u30c9\u3092\u30af\u30a8\u30ea\u3057\u3066\u3001\u305d\u306e\u8272\u3092\u8d64\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"sammy=#\">UPDATE playground SET color <span class=\"token operator\">=<\/span> <span class=\"token string\">&#8216;red&#8217;<\/span> WHERE <span class=\"token builtin class-name\">type<\/span> <span class=\"token operator\">=<\/span> <span class=\"token string\">&#8216;swing&#8217;<\/span><span class=\"token punctuation\">;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30c7\u30fc\u30bf\u3092\u518d\u5ea6\u30af\u30a8\u30ea\u3057\u3066\u64cd\u4f5c\u304c\u6210\u529f\u3057\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"sammy=#\">SELECT * FROM playground<span class=\"token punctuation\">;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ee5\u4e0b\u3092\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059\uff1a<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>equip_id | type | color | location | install_date &#8212;&#8212;&#8212;-+&#8212;&#8212;-+&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8211; 2 | swing | red | northwest | 2010-08-16 (1 row)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3054\u89a7\u306e\u3088\u3046\u306b\u3001\u30b9\u30e9\u30a4\u30c9\u306f\u4eca\u8d64\u8272\u3068\u3057\u3066\u767b\u9332\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u3042\u306a\u305f\u306f\u73fe\u5728\u3001Rocky Linux 9 \u30b5\u30fc\u30d0\u30fc\u4e0a\u306b PostgreSQL \u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3001Postgres \u306b\u306f\u307e\u3060\u3055\u3089\u306b\u5b66\u3076\u3079\u304d\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u3001Postgres \u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u30ab\u30d0\u30fc\u3057\u305f\u3044\u304f\u3064\u304b\u306e\u8ffd\u52a0\u30ac\u30a4\u30c9\u3067\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>A comparison of relational database management systems<\/li>\n<li>Learn about running queries in PostgreSQL<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u306f\u3001\u591a\u304f\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u91cd\u8981\u306a\u8981\u7d20\u3067\u3059\u3002\u60c5\u5831\u3092\u6574\u7406\u3057\u3001\u4fdd\u5b58\u3057\u3001\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306e\u69cb\u9020\u5316\u3055\u308c\u305f\u65b9\u6cd5\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002 PostgreSQL\u3001\u307e\u305f\u306fPostgre [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,17,14],"class_list":["post-184","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-linux","tag-17","tag-14"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Rocky Linux 9\u306bPostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Rocky Linux 9\u306bPostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9\u306bpostgresql\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rocky Linux 9\u306bPostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"Rocky Linux 9\u306bPostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9\u306bpostgresql\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-01T10:51:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T12:28:35+00:00\" \/>\n<meta name=\"author\" content=\"\u5149, \u660e\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5149, \u660e\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"24\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abpostgresql%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abpostgresql%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\",\"name\":\"Rocky Linux 9\u306bPostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-09-01T10:51:27+00:00\",\"dateModified\":\"2025-07-31T12:28:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\"},\"description\":\"Rocky Linux 9\u306bPostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abpostgresql%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abpostgresql%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abpostgresql%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rocky Linux 9\u306bPostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\",\"name\":\"\u5149, \u660e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"caption\":\"\u5149, \u660e\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abpostgresql%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Rocky Linux 9\u306bPostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","description":"Rocky Linux 9\u306bPostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9\u306bpostgresql\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\/","og_locale":"ja_JP","og_type":"article","og_title":"Rocky Linux 9\u306bPostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5","og_description":"Rocky Linux 9\u306bPostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9\u306bpostgresql\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-09-01T10:51:27+00:00","article_modified_time":"2025-07-31T12:28:35+00:00","author":"\u5149, \u660e","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u5149, \u660e","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"24\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abpostgresql%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abpostgresql%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","name":"Rocky Linux 9\u306bPostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-09-01T10:51:27+00:00","dateModified":"2025-07-31T12:28:35+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55"},"description":"Rocky Linux 9\u306bPostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abpostgresql%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abpostgresql%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abpostgresql%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Rocky Linux 9\u306bPostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55","name":"\u5149, \u660e","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","caption":"\u5149, \u660e"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abpostgresql%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=184"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/184\/revisions"}],"predecessor-version":[{"id":325736,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/184\/revisions\/325736"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}