Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
postgresql
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
postgresql
Commits
f1d72314
Commit
f1d72314
authored
Aug 26, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated postgresql to 12.3
parent
9ba6c842
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
11 deletions
+23
-11
Makefile
Makefile
+11
-11
postgresql-12.3-runfile.patch
postgresql-12.3-runfile.patch
+12
-0
postgresql-12.3.tar.bz2
postgresql-12.3.tar.bz2
+0
-0
No files found.
Makefile
View file @
f1d72314
...
@@ -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-12.
0
.tar.bz2
tar
xf postgresql-12.
3
.tar.bz2
patch
-Np1
-d
postgresql-12.
0 < postgresql-12.0
-runfile.patch
patch
-Np1
-d
postgresql-12.
3 < postgresql-12.3
-runfile.patch
cd
postgresql-12.
0
&&
./configure
--prefix
=
/usr
--enable-thread-safety
--docdir
=
/usr/share/doc/postgresql-12.0
--with-openssl
--with-perl
--with-python
--with-tcl
cd
postgresql-12.
3
&&
./configure
--prefix
=
/usr
--enable-thread-safety
--docdir
=
/usr/share/doc/postgresql-12.3
--with-openssl
--with-perl
--with-python
--with-tcl
$(MAKE)
-C
postgresql-12.
0
MAKELEVEL
=
0
$(MAKE)
-C
postgresql-12.
3
MAKELEVEL
=
0
$(MAKE)
-C
postgresql-12.
0
/contrib
$(MAKE)
-C
postgresql-12.
3
/contrib
$(MAKE)
-C
postgresql-12.
0
install
$(MAKE)
-C
postgresql-12.
3
install
$(MAKE)
-C
postgresql-12.
0
install-docs
$(MAKE)
-C
postgresql-12.
3
install-docs
$(MAKE)
-C
postgresql-12.
0
/contrib
install
$(MAKE)
-C
postgresql-12.
3
/contrib
install
cd
postgresql-12.
0
&&
chown
-Rv
nobody .
cd
postgresql-12.
3
&&
chown
-Rv
nobody .
cd
postgresql-12.
0
&&
su nobody
-s
/bin/bash
-c
"make check"
cd
postgresql-12.
3
&&
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
...
@@ -38,7 +38,7 @@ all: postgresql-service
...
@@ -38,7 +38,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-12.
0
rm
-rf
postgresql-12.
3
postgresql-service
:
postgresql-service
:
define
POSTGRESQL_SERVICE
define
POSTGRESQL_SERVICE
...
...
postgresql-12.
0
-runfile.patch
→
postgresql-12.
3
-runfile.patch
View file @
f1d72314
diff -uNr postgresql-12.
0/src/include/pg_config_manual.h postgresql-12.0
-runfile/src/include/pg_config_manual.h
diff -uNr postgresql-12.
3/src/include/pg_config_manual.h postgresql-12.3
-runfile/src/include/pg_config_manual.h
--- postgresql-12.
0/src/include/pg_config_manual.h 2019-10-01 05:36:55
.000000000 +0930
--- postgresql-12.
3/src/include/pg_config_manual.h 2020-05-12 06:38:58
.000000000 +0930
+++ postgresql-12.
0-runfile/src/include/pg_config_manual.h 2019-10-28 09:43:59.898548701 +10
30
+++ postgresql-12.
3-runfile/src/include/pg_config_manual.h 2021-08-23 22:03:22.325980884 +09
30
@@ -179,7 +179,7 @@
@@ -179,7 +179,7 @@
* here's where to twiddle it. You can also override this at runtime
* here's where to twiddle it. You can also override this at runtime
* with the postmaster's -k switch.
* with the postmaster's -k switch.
...
...
postgresql-12.
0
.tar.bz2
→
postgresql-12.
3
.tar.bz2
View file @
f1d72314
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment