【发布时间】:2020-05-24 01:38:05
【问题描述】:
我已经用以下代码编译了 PostgreSQL 12。
curl --progress-bar https://ftp.postgresql.org/pub/source/v12.2/postgresql-12.2.tar.bz2 | tar xj -C /usr/local/src/
cd src/postgresql-12.2
./configure --prefix=/usr/local --with-pgport=5432 --with-python --with-openssl --with-libxml --with-libxslt --with-zlib --with-llvm
make -j "$(nproc)"
make install
make all
make install
cd ../..
ldconfig
之后我尝试创建hstore 扩展。但它返回以下错误
错误:无法打开扩展控制文件 “/usr/local/share/postgresql/extension/hstore.control”:没有这样的文件 或目录
我怎样才能为我的编译获得该扩展工作。
注:我不想用apt-get或yum,我要编译。
【问题讨论】:
标签: postgresql hstore