差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
windows:postgresql [2019/07/31 06:16] – [pgAdmin3 のインストール] ともやん | windows:postgresql [2019/08/16 14:17] (現在) – [pgBouncer の設定] ともやん | ||
---|---|---|---|
行 41: | 行 41: | ||
* 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\" | + | powershell |
- | powershell -command start \"net\" -verb runas -argumentlist \"stop pgbouncer\" | + | powershell |
</ | </ | ||
==== pgBouncer の設定 ==== | ==== pgBouncer の設定 ==== | ||
- pgbouncer_edit.cmd ファイルを作成して、設定を編集できるようにしておく。< | - pgbouncer_edit.cmd ファイルを作成して、設定を編集できるようにしておく。< | ||
- | powershell -command start \"notepad\" -verb runas -argumentlist \" | + | powershell |
</ | </ | ||
- pgbouncer.ini の以下の部分を修正する。< | - pgbouncer.ini の以下の部分を修正する。< |