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
dced2720
Commit
dced2720
authored
Apr 15, 2025
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated postgresql to 13.3
parent
f1d72314
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
23 deletions
+23
-23
Makefile
Makefile
+11
-11
postgresql-12.3-runfile.patch
postgresql-12.3-runfile.patch
+0
-12
postgresql-13.3-runfile.patch
postgresql-13.3-runfile.patch
+12
-0
postgresql-13.3.tar.bz2
postgresql-13.3.tar.bz2
+0
-0
No files found.
Makefile
View file @
dced2720
...
...
@@ -21,16 +21,16 @@ all: postgresql-service
ln
-sv
/data/etc/shadow /etc/shadow
mv
-v
/etc/gshadow /data/etc/gshadow
ln
-sv
/data/etc/gshadow /etc/gshadow
tar
xf postgresql-1
2
.3.tar.bz2
patch
-Np1
-d
postgresql-1
2.3 < postgresql-12
.3-runfile.patch
cd
postgresql-1
2.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-1
2
.3
MAKELEVEL
=
0
$(MAKE)
-C
postgresql-1
2
.3/contrib
$(MAKE)
-C
postgresql-1
2
.3
install
$(MAKE)
-C
postgresql-1
2
.3 install-docs
$(MAKE)
-C
postgresql-1
2
.3/contrib
install
cd
postgresql-1
2
.3
&&
chown
-Rv
nobody .
cd
postgresql-1
2
.3
&&
su nobody
-s
/bin/bash
-c
"make check"
tar
xf postgresql-1
3
.3.tar.bz2
patch
-Np1
-d
postgresql-1
3.3 < postgresql-13
.3-runfile.patch
cd
postgresql-1
3.3
&&
./configure
--prefix
=
/usr
--enable-thread-safety
--docdir
=
/usr/share/doc/postgresql-13
.3
--with-openssl
--with-perl
--with-python
--with-tcl
$(MAKE)
-C
postgresql-1
3
.3
MAKELEVEL
=
0
$(MAKE)
-C
postgresql-1
3
.3/contrib
$(MAKE)
-C
postgresql-1
3
.3
install
$(MAKE)
-C
postgresql-1
3
.3 install-docs
$(MAKE)
-C
postgresql-1
3
.3/contrib
install
cd
postgresql-1
3
.3
&&
chown
-Rv
nobody .
cd
postgresql-1
3
.3
&&
su nobody
-s
/bin/bash
-c
"make check"
install
-v
-dm700
/srv/pgsql/data
install
-v
-dm755
/run/postgresql
chown
-Rv
postgres:postgres /srv/pgsql /run/postgresql
...
...
@@ -38,7 +38,7 @@ all: postgresql-service
@
echo
"d /run/postgresql 0775 postgres postgres -"
>
/usr/lib/tmpfiles.d/postgresql.conf
@
echo
"
$$
POSTGRESQL_SERVICE"
>
/lib/systemd/system/postgresql.service
systemctl
enable
postgresql.service
rm
-rf
postgresql-1
2
.3
rm
-rf
postgresql-1
3
.3
postgresql-service
:
define
POSTGRESQL_SERVICE
...
...
postgresql-12.3-runfile.patch
deleted
100644 → 0
View file @
f1d72314
diff -uNr postgresql-12.3/src/include/pg_config_manual.h postgresql-12.3-runfile/src/include/pg_config_manual.h
--- postgresql-12.3/src/include/pg_config_manual.h 2020-05-12 06:38:58.000000000 +0930
+++ postgresql-12.3-runfile/src/include/pg_config_manual.h 2021-08-23 22:03:22.325980884 +0930
@@ -179,7 +179,7 @@
* here's where to twiddle it. You can also override this at runtime
* with the postmaster's -k switch.
*/
-#define DEFAULT_PGSOCKET_DIR "/tmp"
+#define DEFAULT_PGSOCKET_DIR "/run/postgresql"
/*
* This is the default event source for Windows event log.
postgresql-13.3-runfile.patch
0 → 100644
View file @
dced2720
diff -uNr postgresql-13.3/src/include/pg_config_manual.h postgresql-13.3-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-13.3-runfile/src/include/pg_config_manual.h 2025-04-15 15:47:30.268848411 +0930
@@ -208,7 +208,7 @@
* support them yet.
*/
#ifndef WIN32
-#define DEFAULT_PGSOCKET_DIR "/tmp"
+#define DEFAULT_PGSOCKET_DIR "/run/postgresql"
#else
#define DEFAULT_PGSOCKET_DIR ""
#endif
postgresql-1
2
.3.tar.bz2
→
postgresql-1
3
.3.tar.bz2
View file @
dced2720
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