Commit f88c26c9 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated postgresql to 14.4

parent ce830f60
...@@ -21,16 +21,16 @@ all: postgresql-service ...@@ -21,16 +21,16 @@ all: postgresql-service
ln -sv /data/etc/shadow /etc/shadow ln -sv /data/etc/shadow /etc/shadow
mv -v /etc/gshadow /data/etc/gshadow mv -v /etc/gshadow /data/etc/gshadow
ln -sv /data/etc/gshadow /etc/gshadow ln -sv /data/etc/gshadow /etc/gshadow
tar xf postgresql-13.3.tar.bz2 tar xf postgresql-14.4.tar.bz2
patch -Np1 -d postgresql-13.3 < postgresql-13.3-runfile.patch patch -Np1 -d postgresql-14.4 < postgresql-14.4-runfile.patch
cd postgresql-13.3 && ./configure --prefix=/usr --enable-thread-safety --docdir=/usr/share/doc/postgresql-13.3 --with-openssl --with-perl --with-python --with-tcl cd postgresql-14.4 && ./configure --prefix=/usr --enable-thread-safety --docdir=/usr/share/doc/postgresql-14.4 --with-openssl --with-perl --with-python --with-tcl
$(MAKE) -C postgresql-13.3 MAKELEVEL=0 $(MAKE) -C postgresql-14.4 MAKELEVEL=0
$(MAKE) -C postgresql-13.3/contrib $(MAKE) -C postgresql-14.4/contrib
$(MAKE) -C postgresql-13.3 install $(MAKE) -C postgresql-14.4 install
$(MAKE) -C postgresql-13.3 install-docs $(MAKE) -C postgresql-14.4 install-docs
$(MAKE) -C postgresql-13.3/contrib install $(MAKE) -C postgresql-14.4/contrib install
cd postgresql-13.3 && chown -Rv nobody . cd postgresql-14.4 && chown -Rv nobody .
cd postgresql-13.3 && su nobody -s /bin/bash -c "make check" cd postgresql-14.4 && su nobody -s /bin/bash -c "make check"
install -v -dm700 /srv/pgsql/data install -v -dm700 /srv/pgsql/data
install -v -dm755 /run/postgresql install -v -dm755 /run/postgresql
chown -Rv postgres:postgres /srv/pgsql /run/postgresql chown -Rv postgres:postgres /srv/pgsql /run/postgresql
...@@ -41,7 +41,7 @@ all: postgresql-service ...@@ -41,7 +41,7 @@ all: postgresql-service
@echo "d /run/postgresql 0775 postgres postgres -" > /usr/lib/tmpfiles.d/postgresql.conf @echo "d /run/postgresql 0775 postgres postgres -" > /usr/lib/tmpfiles.d/postgresql.conf
@echo "$$POSTGRESQL_SERVICE" > /lib/systemd/system/postgresql.service @echo "$$POSTGRESQL_SERVICE" > /lib/systemd/system/postgresql.service
systemctl enable postgresql.service systemctl enable postgresql.service
rm -rf postgresql-13.3 rm -rf postgresql-14.4
postgresql-service: postgresql-service:
define POSTGRESQL_SERVICE define POSTGRESQL_SERVICE
......
diff -uNr postgresql-13.3/src/include/pg_config_manual.h postgresql-13.3-runfile/src/include/pg_config_manual.h diff -uNr postgresql-14.4/src/include/pg_config_manual.h postgresql-14.4-runfile/src/include/pg_config_manual.h
--- postgresql-13.3/src/include/pg_config_manual.h 2021-05-11 06:11:42.000000000 +0930 --- postgresql-14.4/src/include/pg_config_manual.h 2022-06-14 05:34:05.000000000 +0930
+++ postgresql-13.3-runfile/src/include/pg_config_manual.h 2025-04-15 15:47:30.268848411 +0930 +++ postgresql-14.4-runfile/src/include/pg_config_manual.h 2026-06-03 11:15:13.175625864 +0930
@@ -208,7 +208,7 @@ @@ -207,7 +207,7 @@
* support them yet. * support them yet.
*/ */
#ifndef WIN32 #ifndef WIN32
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment