postgresql 的 rpm 包使用的是 ‘–with-uuid=e2fs’
postgresql 源码 configure 的帮助选项有 uuid 的几个选项,有啥区别?
# ./configure --help
--with-uuid=LIB build contrib/uuid-ossp using LIB (bsd,e2fs,ossp)
--with-ossp-uuid obsolete spelling of --with-uuid=ossp
# yum list installed |grep -i e2fs
e2fsprogs.x86_64 1.42.9-19.el7 @base
e2fsprogs-devel.x86_64 1.42.9-19.el7 @base
e2fsprogs-libs.x86_64 1.42.9-19.el7 @base
# yum list installed |grep -i uuid
libuuid.x86_64 2.23.2-65.el7_9.1 @updates
libuuid-devel.x86_64 2.23.2-65.el7_9.1 @updates
uuid.x86_64 1.6.2-26.el7 @base
uuid-devel.x86_64 1.6.2-26.el7 @base
参考:
http://postgres.cn/docs/13/uuid-ossp.html