Skip to content

Commit 3d47604

Browse files
authored
chore(postgresql): compatible trixie
* feat(stacks): add pgweb * fix(checher): delete repmgr * chore(stacks): add cloudbeaver * chore(stacks): delete pgweb * chore(stacks): add cloudbeaver * fix(cloudbeaver): build error miss jar * fix(cloudbeaver): fix build conflict * chore(cloudbeaver): delete no used jdk * chore(stacks): add cloudbeaver * chore(stacks) add airflow_exporer * chore(stacks) add mongodb and mongosh * chore(stacks) delete airflow_exporter * chore(stacks) delete airflow_exporter checker * chore(stacks): add mongodb and mongosh * feat(stacks): add pgweb * fix(checher): delete repmgr * chore(stacks): add cloudbeaver * chore(stacks): delete pgweb * chore(stacks): add cloudbeaver * fix(cloudbeaver): build error miss jar * fix(cloudbeaver): fix build conflict * chore(cloudbeaver): delete no used jdk * chore(stacks): add cloudbeaver * chore(stacks) add airflow_exporer * chore(stacks) add mongodb and mongosh * chore(stacks) delete airflow_exporter * chore(stacks) delete airflow_exporter checker * chore(mongodb): modify the compilation method in arm environment * megre(mongodb) * chore(stacks): add clickhouse * chore(postgresql): add extension pgvector * chore(stacks) add nessie * chore(stacks): add lakefs * chore(postgresql): add extention pg_repack * chore(stacks): delete mariadb * chore(stacks):fix alertmanager checker * chore(postgresql) support version 17 --------- Co-authored-by: zhangeamon <EamonZhang>
1 parent 276a045 commit 3d47604

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

stacks/postgresql/build.sh

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,23 +42,22 @@ function build() {
4242
libjson-c-dev \
4343
libproj-dev \
4444
libprotobuf-c-dev \
45-
protobuf-c-compiler
45+
protobuf-c-compiler \
46+
bison \
47+
flex
4648
echo "-----------------start buid postpostgres-------------"
4749
# postgresql
4850
curl -sSL "https://ftp.postgresql.org/pub/source/v${PG_VER}/postgresql-${PG_VER}.tar.gz" | tar -xz && \
4951
cd postgresql-"${PG_VER}" && \
5052
./configure \
5153
--prefix=/opt/drycc/postgresql/"${PG_MAJOR}" \
5254
--enable-integer-datetimes \
53-
--enable-thread-safety \
5455
--enable-tap-tests \
5556
--with-uuid=e2fs \
56-
--with-gnu-ld \
5757
--with-pgport=5432 \
5858
--with-system-tzdata=/usr/share/zoneinfo \
5959
--with-includes=/usr/local/include \
6060
--with-libraries=/usr/local/lib \
61-
--with-krb5 \
6261
--with-gssapi \
6362
--with-ldap \
6463
--with-pam \
@@ -73,16 +72,14 @@ function build() {
7372
--with-lz4 \
7473
&& \
7574
# we can change from world to world-bin in newer releases
76-
make world && \
77-
make install-world
75+
make world-bin && \
76+
make install-world-bin
7877
cd -
7978
# postgis
8079
echo "-----------------start buid postgis-------------"
8180
curl -sSL "https://download.osgeo.org/postgis/source/postgis-${POSTGIS_VERSION}.tar.gz" | tar -xz && \
8281
cd postgis-"${POSTGIS_VERSION}" && \
83-
./configure \
84-
--prefix="/opt/drycc/postgresql/${PG_MAJOR}/postgis/${POSTGIS_VERSION}" \
85-
--with-pgconfig=/opt/drycc/postgresql/"${PG_MAJOR}"/bin/pg_config \
82+
./configure --with-pgconfig=/opt/drycc/postgresql/"${PG_MAJOR}"/bin/pg_config \
8683
&& \
8784
make && \
8885
make install && \

0 commit comments

Comments
 (0)