差分
このページの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 ファイルを作成して手動起動できるようにしておく。< | - pgsql_start.cmd ファイルを作成して手動起動できるようにしておく。< | ||
| - | powershell -command start \"net\" -verb runas -argumentlist \" | + | powershell |
| - | powershell -command start \"net\" -verb runas -argumentlist \" | + | powershell |
| - | </ | + | </ |
| - pgsql_stop.cmd ファイルを作成して手動停止できるようにしておく。< | - pgsql_stop.cmd ファイルを作成して手動停止できるようにしておく。< | ||
| - | powershell -command start \"net\" -verb runas -argumentlist \"stop postgresql-x64-x.x\" | + | powershell |
| - | powershell -command start \"net\" -verb runas -argumentlist \"stop pgbouncer\" | + | powershell |
| - | </ | + | </ |
| ==== pgBouncer の設定 ==== | ==== pgBouncer の設定 ==== | ||
| - | - pgbouncer_edit.cmd ファイルを作成して、設定を編集できるようにしておく。< | + | - pgbouncer_edit.cmd ファイルを作成して、設定を編集できるようにしておく。< |
| - | powershell | + | powershell start-process |
| - | </code> | + | </file></ |
| - pgbouncer.ini の以下の部分を修正する。< | - pgbouncer.ini の以下の部分を修正する。< | ||
| [databases] | [databases] | ||
| 行 70: | 行 70: | ||
| </ | </ | ||
| - | ===== pgAdmin3 のインストール ===== | + | |
| - | - [[http:// | + | |
| - | - pgadmin3-x.xx.x.zip を解凍し pgadmin3.msi を実行してインストールする。 | + | |