Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
6971cb0
debian, ci and some internal pathes
reshke Jun 17, 2025
ace857c
Untrust all contrib
Dec 26, 2023
e4483e6
Disallow cancelation of syncronous commit V1
x4m Oct 27, 2020
d0a0dcf
Mdb-admin patch and regression tests
reshke Apr 13, 2021
00bf27d
MDB replication role patch
x4m Dec 6, 2020
2279a81
Change storage class for mdb_replication utilities
Dec 11, 2024
a3e3f76
Disable security test
reshke Jun 27, 2025
e8a70ef
Role mdb_superuser: feature and regress testsing
reshke Feb 21, 2023
4f4d0b6
provide [mdb -postgresql] restict grant roles in YC[MDB-16990]
reshke Feb 22, 2022
1c6422f
MDB-16955 : disallow to kill repl mon in cloud
reshke May 11, 2022
93d5b3a
Demonstrate and fix lock of all SQL queries by pg_stat_statements
Sep 12, 2022
61a0ad8
MDB-21297: forbit usage of COPY TO PROGRAMM and COPY FROM PROGRAMM to…
reshke Jan 18, 2023
d50593c
Implement mdb-locales patch
usernamedt Feb 13, 2023
a1506f3
MDB-23247: startup param for auth passthrough under unpriviledged user
reshke May 11, 2023
26b907e
Add mdb changelog
reshke Jul 5, 2023
1aa1def
Restrict DROP DATABASE to superuser only
May 28, 2024
5a6fd30
[MDB-28474] Increate readaheadchunk for XlogPageReader()
x4m Jul 8, 2024
8483414
Use fadvise to prefetch WAL in xlogrecovery
Jun 23, 2022
6dc6fb7
parameter max_log_size to truncate logs
diPhantxm Sep 9, 2024
97861d4
Support FORCE option in analyze command
diPhantxm Aug 26, 2024
bbafab6
truncate query to be logged in simple query
diPhantxm Nov 12, 2024
73f82b6
MDB-32132: fix grantor selection for mdb_superuser (#6)
reshke Jan 17, 2025
42cb26c
Do not use schema public in mdb_superuser regression tests (#7)
reshke Jan 21, 2025
2aac87a
Introduce mdb_read_all_data/mdb_write_all_data
reshke Feb 7, 2025
c232a6f
Allow usage on schema for mdb_read_all_data (#23)
reshke Apr 26, 2025
edf7301
Add check for mdb_service_auth role
reshke Apr 26, 2025
bed192b
GUCify NUM_BUFFER_PARTITIONS
x4m Nov 13, 2024
32302cf
pg_stat_statements.c: cancelable qtext_load_file (#45)
rkhapov Oct 2, 2025
764e586
Allow canceling service queries.
reshke Dec 5, 2025
398e3be
v6 of bt_page_items pretty-print
reshke Jan 18, 2026
7908895
Add archive_mode=shared for coordinated WAL archiving
x4m Feb 10, 2026
9628058
Mark ancestor timeline WAL segments as archived
x4m Feb 10, 2026
226b6fd
Optimize ProcessArchivalReport to avoid directory scans
x4m Feb 11, 2026
f2f04da
Fuse shared archive with ycmdb.shared_archive
x4m Feb 12, 2026
382698b
REASSIGN OWNED: ignore subscriptions in other databases
alvherre Jan 1, 2026
1bea259
Revert SSLKEYLOGFILE feature
reshke Apr 15, 2026
ad959d1
Eject-out file fdw from MDB build
Apr 22, 2026
7edb110
Fix two bugs in archive_mode=shared on standby
x4m Apr 17, 2026
6e1e8c6
Never trust `trusted` and `superuser` fields from extension controlfi…
reshke Apr 28, 2026
da6227c
Adjust plperl tests for MDB.
May 13, 2026
3e8ab90
Schema-qualify psql internal query operators
reshke Jun 25, 2026
d8362d8
Modernize coding in GIN pageinspect functions.
reshke Jan 7, 2026
c38198d
GIN pageinspect support for entry tree and posting tree internal pages
reshke Oct 13, 2025
388f6a1
Move IS_INDEX macro to pageinspect.h
reshke Jan 10, 2026
80d8a12
Make ycmdb.shared_archive runtime-changeable and add space saver
x4m Jul 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/regress.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Docker Image CI

on:
push:
branches: [ "MDB_*" ]
pull_request:
branches: [ "MDB_*" ]

jobs:

check:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file docker/regress/Dockerfile --tag regress_test:1234 && docker run --entrypoint /home/build-user/docker/regress/run_tests_f.sh regress_test:1234

check-world:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file docker/regress/Dockerfile --tag regress_test:1234 && docker run --entrypoint /home/build-user/docker/regress/run_tests.sh regress_test:1234


56 changes: 56 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
ARG codename
FROM ubuntu:${codename:-bionic}

ARG codename
ENV CODE_NAME=${codename:-bionic}

ARG pgdg
ENV PGDG_VER=${pgdg:-242-2-pgdg18.04+1+yandex220}

ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Moskow
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN sed -i 's/archive.ubuntu.com/mirror.yandex.ru/g' /etc/apt/sources.list &&\
apt-get update && apt-get install -y --no-install-recommends \
sudo build-essential \
gcc lsb-release libssl-dev gnupg openssl \
gdb git curl gnupg

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FF5F4D0E27393420

RUN echo "deb http://dist.yandex.ru/mdb-${CODE_NAME}-secure stable/all/" >> /etc/apt/sources.list
RUN echo "deb http://dist.yandex.ru/mdb-${CODE_NAME}-secure stable/\$(ARCH)/" >> /etc/apt/sources.list

RUN curl -s 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xafc3ce0d00e3c45a357e9e637fcd11186050cd1a' | \
gpg --dearmour -o /etc/apt/trusted.gpg.d/yandex.gpg

RUN apt-get update && apt-get install -y --no-install-recommends \
sudo build-essential \
gcc lsb-release libssl-dev gnupg openssl \
gdb git \
libpam0g-dev \
debhelper debootstrap devscripts make equivs debhelper-compat \
libz-dev flex libicu-dev libio-pty-perl libipc-run-perl libkrb5-dev \
libldap2-dev liblz4-dev liblz4-tool zstd libperl-dev libreadline-dev libselinux1-dev llvm-18-dev \
libsystemd-dev libxml2-dev libxml2-utils libxslt1-dev \
python3-dev systemtap-sdt-dev tcl-dev uuid-dev xsltproc zlib1g-dev \
bison dh-exec docbook-xml docbook-xsl \
clang-18 libcurl4-openssl-dev libnuma-dev liburing-dev libzstd-dev pkgconf tzdata
RUN apt-get install -y \
libmdblocales1 libmdblocales-dev \
postgresql-client-common=${PGDG_VER} \
postgresql-common=${PGDG_VER} \
postgresql-common-dev=${PGDG_VER}

RUN groupadd -g 999 build-user && \
useradd -r -u 999 -g build-user build-user

COPY . /home/build-user
RUN chown build-user:build-user /home -R && usermod -aG sudo build-user

RUN echo 'build-user ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

USER build-user

ENTRYPOINT ["/home/build-user/docker/entrypoint.sh"]
3 changes: 3 additions & 0 deletions HISTORY
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ https://www.postgresql.org/docs/current/release.html

Distribution file sets include release notes for their version and preceding
versions. Visit the file doc/src/sgml/html/release.html in an HTML browser.

On Debian systems, the release notes are contained in the postgresql-doc-*
packages, located in /usr/share/doc/postgresql-doc-*/html/release.html.
90 changes: 90 additions & 0 deletions MDB-PATCHES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@

15:

7dfdf3a55ed: mdb_replication role patch
f6a3406fed8: Disallow cancelation of syncronous commit V1
4289037edd2: Extend multixact SLRU
d6842b7f65c: Allow mdb_admin to create LEAKPROOF functions
146a82b3a75: mdb admin sets session replication role
68312eae50b: [MDB-16648]: Allow mdb admin to kill specific superuser queries
ab8f5243195: provide [mdb -postgresql] restict grant roles in YC[MDB-16990]
8ccf1aa7c51: Allow mdb admin to tranfers ownership on non-superuser objects regressioon tests for mdb admin functionality[MDB-16988]
bf4cad5ecdd: MDB-17910: check MDB reserved application name fix
64fed445a14: MDB-16955 : disallow to kill repl mon in cloud
afeb1eb4c2f: Fix mdb_replication role
5852300fb1d: pg_replication_slot_advance fix
c52bd070b56: Fix compilation errors

0db90bbcbdd: Demonstrate and fix lock of all SQL queries by pg_stat_statements
530019f966d: MDB-21297: forbit usage of COPY TO PROGRAMM and COPY FROM PROGRAMM to non-superuser
8c860bf4d66: Reimplement mdb-admin, refactor mdb_admin check and usages.

3a89cc36c74: Implement mdb-locales patch
dc7d503498b: Add mdb locales patch, restore COPY from/to files, enable regress.
96c30d707a7: Role mdb_superuser: feature and regress testsing
2d5f40ce3c9: Refactor optional setlocale, fix minor issues
41f04495a89: Update dependencies: bump libmdblocales, add mdb-locales
adc0b21d39f: Allow mdb_superuser to have power of pg_database_owner
ac90e1819fa: MDB-23247: startup param for auth passthrough under unpriviledged user
2bf6f042542: Add tap-test for mdb service role auth 👍👌😉
9750b4efc44: Use fadvise to prefetch WAL in xlogrecovery
25f12802528: Fix tests after rebasecontrib tests 💅️️💅️️💅️️ now works
746dd65f557: MDB-23247: debug ouput for testing purposes lowered to DEBUG5 elog level





16:

/* misc */

/* on branch mdb-16 cherry-picked 'as is' */
f6a3406fed8 -> 1effb23478e: Disallow cancelation of syncronous commit V1
4289037edd2 -> b542d608604: Extend multixact SLRU



/* mdb - admin + mdb_replication */
7dfdf3a55ed: mdb_replication role patch


d6842b7f65c: Allow mdb_admin to create LEAKPROOF functions
146a82b3a75: mdb admin sets session replication role
68312eae50b: [MDB-16648]: Allow mdb admin to kill specific superuser queries
8ccf1aa7c51: Allow mdb admin to tranfers ownership on non-superuser objects regressioon tests for mdb admin functionality[MDB-16988]
8c860bf4d66: Reimplement mdb-admin, refactor mdb_admin check and usages.

/* sqashed to */
52435055d7b: Mdb-admin patch and regression tests
/*******/

/* as is */
ab8f5243195->3fecc85426e: provide [mdb -postgresql] restict grant roles in YC[MDB-16990]

/* pack of mdb patches */
bf4cad5ecdd: MDB-17910: check MDB reserved application name fix
64fed445a14: MDB-16955 : disallow to kill repl mon in cloud
afeb1eb4c2f: Fix mdb_replication role
5852300fb1d: pg_replication_slot_advance fix
c52bd070b56: Fix compilation errors

/* squashed to */
52ea09c2d90: Pack of MDB-related patches:
/* */

0db90bbcbdd: Demonstrate and fix lock of all SQL queries by pg_stat_statements
530019f966d: MDB-21297: forbit usage of COPY TO PROGRAMM and COPY FROM PROGRAMM to non-superuser

3a89cc36c74: Implement mdb-locales patch
dc7d503498b: Add mdb locales patch, restore COPY from/to files, enable regress.
96c30d707a7: Role mdb_superuser: feature and regress testsing
2d5f40ce3c9: Refactor optional setlocale, fix minor issues
41f04495a89: Update dependencies: bump libmdblocales, add mdb-locales
adc0b21d39f: Allow mdb_superuser to have power of pg_database_owner
ac90e1819fa: MDB-23247: startup param for auth passthrough under unpriviledged user
2bf6f042542: Add tap-test for mdb service role auth 👍👌😉
9750b4efc44: Use fadvise to prefetch WAL in xlogrecovery
25f12802528: Fix tests after rebasecontrib tests 💅️️💅️️💅️️ now works
746dd65f557: MDB-23247: debug ouput for testing purposes lowered to DEBUG5 elog level

Loading
Loading