windows:postgresql

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
windows:postgresql [2019/07/31 06:16] – [pgAdmin3 のインストール] ともやんwindows:postgresql [2019/08/16 14:17] (現在) – [pgBouncer の設定] ともやん
行 41: 行 41:
     * 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\" +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>※**x** はインストールバージョンで置き換える。 </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\" +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>※**x** はインストールバージョンで置き換える。 </file>※**x** はインストールバージョンで置き換える。
  
 ==== pgBouncer の設定 ==== ==== pgBouncer の設定 ====
   - pgbouncer_edit.cmd ファイルを作成して、設定を編集できるようにしておく。<WRAP prewrap 100%><file batch pgbouncer_edit.cmd>   - 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
 </file></WRAP> </file></WRAP>
   - pgbouncer.ini の以下の部分を修正する。<code>   - pgbouncer.ini の以下の部分を修正する。<code>
  • windows/postgresql.txt
  • 最終更新: 2019/08/16 14:17
  • by ともやん