はじめに
以前、PostgreSQLのconfigureオプションに関する記事を書いたが、PostgreSQL 16betaがリリースされたので更新した。
- 今回の修正点
- PostgreSQL 16beta1のconfigureオプションの情報を追加
各バージョンの変更内容
PostgreSQL 16bwta1
- -追加:-with-segsize-blocks
- セグメントファイル内のブロック長(デフォルト値 8192)を指定可能
- 追加:--without-icu
- 削除:--with-icu
- 削除:--with-gnu-ld
PostgreSQL 15
- 追加:with-zstd。
- TOASTやWALの圧縮オプションとしてZSTDを使う場合には、このオプションつきでconfigureを実行する。
- environment variables として以下の2変数も追加
- ZSTD_CFLAGS
- ZSTD_LIBS
- その他:with-lz4オプションはWAL圧縮オプションにも関連する。
PostgreSQL 14
-
with-lz4オプションの追加。TOASTの圧縮オプションとしてLZ4を使う場合には、このオプションつきでconfigureを実行する。
-
追加:with-lz4
-
追加:with-ssl
PostgreSQL 13
- 削除:disable-float4-byval
- 削除:disable-float8-byval
PostgreSQL 12
--disable-strong-random
オプションが削除された。このオプションも短命でしたね・・・。
- 削除:--disable-strong-random
PostgreSQL 11
JIT対応に関連するwith-llvm
の追加と、initdb
パラメータとして指定可能になった、with-wal-segsize
が削除された。
- 追加:with-llvm
- 削除:with-wal-segsize
PostgreSQL 10
disable-integer-datetimes
がついに削除された!
- 追加:with-icu
- 削除:disable-integer-datetimes
- 追加:disable-strong-random
PostgreSQL 9.6
- 追加:with-bsd-auth
- 追加:with-systemd
PostgreSQL 9.5
with-krb-srvnam
の指定の有無で代用するようにしたのかな?(使ったことないので分からない)
- 削除:with-krb5
PostgreSQL 9.4
with-extra-version
はパッチを当てたコードをビルドするような時に付与しておくと良さそう。(性能検証のときなど)
- 追加:with-extra-version
- 追加:with-uuid
- 追加:enable-tap-tests
PostgreSQL 9.2, 9.3
変更なし。
PostgreSQL 9.1
configureのオプションページには記載されていないけど、contrib/sepgsql(9.1~)のページに、with-selinux
オプションに関する記述があるので注意。
- 追加:with-selinux
PostgreSQL 9.0
スレッドセーフ指定がデフォルト有効に。
- 追加:disable-thread-safety
- 削除:enable-thread-safety
PostgreSQL 8.4
8.4では非常に多くのconfigureオプションの変更があった。こんなに変更があったとは。
- 追加:datarootdir
- 追加:docdir
- 削除:with-docdir
- 削除:with-docdir
- 追加:htmldir
- 追加:with-python
- 追加:with-libedit-preferred
- 追加:with-bonjour
- 追加:with-ossp-uuid
- 追加:disable-integer-datetimes
- 削除:enable-integer-datetimes
- 追加:disable-float4-byval
- 追加:disable-float8-byval
- 追加:with-segsize
- 追加:with-blocksize
- 追加:with-wal-segsize
- 追加:with-wal-blocksize
- 追加:enable-coverage
configureオプションの変遷
- 凡例
-
● 存在する。
-
- 存在しない
-
? たぶん存在するけど未確認
オプション名 16 15 14 13 12 11 10 9.6 9.5 9.4 9.3 9.2 9.1 9 8.4 8.3 bindir ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● build ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? datadir ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● datarootdir ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● - disable-FEATURE ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? disable-atomics ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? disable-float4-byval ● - - - ● ● ● ● ● ● ● ● ● ● ● - disable-float8-byval ● - - - ● ● ● ● ● ● ● ● ● ● ● - disable-integer-datetimes ● ● ● ● ● - - ● ● ● ● ● ● ● ● - disable-largefile ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? disable-option-checking ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? disable-rpath ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? disable-spinlocks ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● disable-strong-random ● - - - - ● ● - - - - - - - - - disable-thread-safety ● ● ● ● ● ● ● ● ● ● ● ● ● ● - - docdir ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● - dvidir ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? enable-FEATURE ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? enable-cassert ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● enable-coverage ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● - enable-debug ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● enable-depend ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● enable-dtrace ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● enable-integer-datetimes ● - - - - - - - - - - - - - - ● enable-nls ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● enable-profiling ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● enable-tap-tests ● ● ● ● ● ● ● ● ● ● - - - - - - enable-thread-safety ● - - - - - - - - - - - - - ● ● exec-prefix ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● host ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? htmldir ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● - includedir ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● infodir ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? libdir ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● libexecdir ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? localedir ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● localstatedir ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? mandir ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● oldincludedir ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? pdfdir ● ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? prefix ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● psdir ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? sbindir ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? sharedstatedir ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? sysconfdir ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● -with-CC ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? with-PACKAGE ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? with-blocksize ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● - with-bonjour ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● - with-bsd-auth ● ● ● ● ● ● ● ● - - - - - - - - with-docdir ● - - - - - - - - - - - - - - ● with-extra-version ● ● ● ● ● ● ● ● ● ● - - - - - - with-gnu-ld - ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? with-gssapi ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● with-icu - ● ● ● ● ● ● - - - - - - - - - with-includes ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● with-krb-srvname ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● with-krb5 ● - - - - - - - - ● ● ● ● ● ● ● with-ldap ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● with-libedit-preferred ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● - with-libraries ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● with-libs ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? with-libxml ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● with-libxslt ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● with-llvm ● ● ● ● ● ● - - - - - - - - - - with-lz4 ● ● ● - - - - - - - - - - - - - with-openssl ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● with-ossp-uuid ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● - with-pam ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● with-perl ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● with-pgport ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● with-python ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● - with-segsize ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● - with-segsize-blocks ● - - - - - - - - - - - - - - - with-selinux ● ● ● ● ● ● ● ● ● ● ● ● ● - - - with-ssl ● ● ● - - - - - - - - - - - - - with-system-tzdata ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● with-systemd ● ● ● ● ● ● ● ● - - - - - - - - with-tcl ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● with-tclconfig ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● with-template ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? with-uuid ● ● ● ● ● ● ● ● ● ● - - - - - - with-wal-blocksize ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● - with-wal-segsize - - - - - - ● ● ● ● ● ● ● ● ● - with-zstd ● ● - - - - - - - - - - - - - - without-PACKAGE ● ● ● ● ● ? ? ? ? ? ? ? ? ? ? ? without-docdir - - - - - - - - - - - - - - - ● without-icu ● - - - - - - - - - - - - - - - without-readline ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● without-zlib ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●
-