windows:postgresql

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
windows:postgresql [2019/07/31 05:54] – [インストール] ともやんwindows:postgresql [2019/08/16 14:17] (現在) – [pgBouncer の設定] ともやん
行 38: 行 38:
   - 開発用に利用する場合は、タスクバーの「ここに入力して検索」に services.msc を入力して Enter キーを押す。   - 開発用に利用する場合は、タスクバーの「ここに入力して検索」に services.msc を入力して Enter キーを押す。
   - 「サービス」より以下のサービスのスタートアップの種類を手動に設定しておく。   - 「サービス」より以下のサービスのスタートアップの種類を手動に設定しておく。
-    * postgresql-x64-x.x+    * postgresql-x64-x
     * pgbouncer     * pgbouncer
   - pgsql_start.cmd ファイルを作成して手動起動できるようにしておく。<file batch pgsql_start.cmd>   - pgsql_start.cmd ファイルを作成して手動起動できるようにしておく。<file batch pgsql_start.cmd>
-powershell -command start \"net\" -verb runas -argumentlist \"start postgresql-x64-x.x\" +powershell start-process net -argumentlist \"start postgresql-x64-x\" -verb runas 
-powershell -command start \"net\" -verb runas -argumentlist \"start pgbouncer\" +powershell start-process net -argumentlist \"start pgbouncer\" -verb runas 
-</file>+</file>※**x** はインストールバージョンで置き換える。
   - pgsql_stop.cmd ファイルを作成して手動停止できるようにしておく。<file batch pgsql_stop.cmd>   - pgsql_stop.cmd ファイルを作成して手動停止できるようにしておく。<file batch pgsql_stop.cmd>
-powershell -command start \"net\" -verb runas -argumentlist \"stop postgresql-x64-x.x\" +powershell start-process net -argumentlist \"stop postgresql-x64-x\" -verb runas 
-powershell -command start \"net\" -verb runas -argumentlist \"stop pgbouncer\" +powershell start-process net -argumentlist \"stop pgbouncer\" -verb runas 
-</file>+</file>※**x** はインストールバージョンで置き換える。
  
 ==== pgBouncer の設定 ==== ==== pgBouncer の設定 ====
-  - pgbouncer_edit.cmd ファイルを作成して、設定を編集できるようにしておく。<code+  - pgbouncer_edit.cmd ファイルを作成して、設定を編集できるようにしておく。<WRAP prewrap 100%><file batch pgbouncer_edit.cmd
-powershell -command start \"notepad\" -verb runas -argumentlist \"C:\\Program Files (x86)\\PgBouncer\\share\\pgbouncer.ini\" +powershell start-process notepad -argumentlist \"C:\\Program Files (x86)\\PgBouncer\\share\\pgbouncer.ini\" -verb runas 
-</code>+</file></WRAP>
   - pgbouncer.ini の以下の部分を修正する。<code>   - pgbouncer.ini の以下の部分を修正する。<code>
 [databases] [databases]
行 70: 行 70:
 </code> </code>
  
-===== pgAdmin3 のインストール ===== +
-  - [[http://www.pgadmin.org/download/windows.php|pgAdmin: Download - Windows ™]]より最新版をダウンロードしてくる。 +
-  - pgadmin3-x.xx.x.zip を解凍し pgadmin3.msi を実行してインストールする。+
  • windows/postgresql.1564520040.txt.gz
  • 最終更新: 2019/07/31 05:54
  • by ともやん