我想在PostgreSQL中执行原子事务,我发现了这个“ https://github.com/vibhorkum/pg_background”链接,但无法理解该过程,有人可以解释如何在Linux服务器上进行此安装吗?
答案 0 :(得分:0)
# yum install postgresql12-devel
# yum install curl-devel expat-devel gettext-devel \
openssl-devel zlib-devel
# git clone https://github.com/vibhorkum/pg_background.git
# export PATH=$PATH:/usr/pgsql-12/bin
# cd /pg_background
# make
# make install
# sudo -iu postgres psql
postgres # CREATE EXTENSION pg_background;