ユーザ用ツール

サイト用ツール


it技術:データベース:postgresql:pg_repack

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
it技術:データベース:postgresql:pg_repack [2025/07/08 14:59] yajuadminit技術:データベース:postgresql:pg_repack [2025/07/08 16:50] (現在) – [ビルドできても例外エラー] yajuadmin
行 9: 行 9:
   * [[https://stackoverflow.com/questions/45819855/call-of-statically-link-function-crash-everytimes-on-windows-8-10-but-not-7/45827816|Call of statically link function crash everytimes on windows 8/10 but not 7]]   * [[https://stackoverflow.com/questions/45819855/call-of-statically-link-function-crash-everytimes-on-windows-8-10-but-not-7/45827816|Call of statically link function crash everytimes on windows 8/10 but not 7]]
  
 +<wrap em>この問題を解決して、Windowsでもpg_repackを使えるようにしたい。</wrap>
 ===== 調査 ===== ===== 調査 =====
 pg_repack のデバッグでは、set_pglocale_pgservice(argv[0], "pgscripts"); を実行すると例外エラーとなる。\\ pg_repack のデバッグでは、set_pglocale_pgservice(argv[0], "pgscripts"); を実行すると例外エラーとなる。\\
行 214: 行 215:
 DB:wh_test、ユーザー:wh_test、スキーマ:wh_test にある t1 テーブル で pg_repack を実行する。\\ DB:wh_test、ユーザー:wh_test、スキーマ:wh_test にある t1 テーブル で pg_repack を実行する。\\
 また、-e オプション(--echo)で、サーバに送信するSQLを表示するようにしておきます。 また、-e オプション(--echo)で、サーバに送信するSQLを表示するようにしておきます。
 +
 +[[https://reorg.github.io/pg_repack/|pg_repack Usage]]
 <code> <code>
 pg_repack -n -t wh_test.t1 -d wh_test -U wh_test -e pg_repack -n -t wh_test.t1 -d wh_test -U wh_test -e
it技術/データベース/postgresql/pg_repack.1751954346.txt.gz · 最終更新: 2025/07/08 14:59 by yajuadmin