Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
0bbc781
Disallow cancelation of syncronous commit V1
x4m Oct 27, 2020
2a564ca
Extend multixact SLRU
x4m Dec 6, 2020
834af5b
Use fadvise to prefetch WAL in xlogrecovery
Jun 23, 2022
890d9ac
Mdb-admin patch and regression tests
reshke Apr 13, 2021
ee2a2c9
MDB replication role patch
x4m Dec 6, 2020
afe958a
Role mdb_superuser: feature and regress testsing
reshke Feb 21, 2023
9522146
provide [mdb -postgresql] restict grant roles in YC[MDB-16990]
reshke Feb 22, 2022
5b52b5a
MDB-16955 : disallow to kill repl mon in cloud
reshke May 11, 2022
42cfeb3
Demonstrate and fix lock of all SQL queries by pg_stat_statements
Sep 12, 2022
4324332
MDB-21297: forbit usage of COPY TO PROGRAMM and COPY FROM PROGRAMM to…
reshke Jan 18, 2023
7d95984
Implement mdb-locales patch
usernamedt Feb 13, 2023
2ffab63
MDB-23247: startup param for auth passthrough under unpriviledged user
reshke May 11, 2023
a1aaf2a
Add mdb changelog
reshke Jul 5, 2023
a0d76c7
Untrust all contrib
Dec 26, 2023
9f99609
Add debian for MDB 16 branch
reshke Jul 30, 2023
426adcc
Indeed remove stop version from prerm
Nov 13, 2024
1cbe8b6
Git apply debian patches[16]
reshke Jul 31, 2023
b85c33d
Pull request #134: MDB-24221: added support for jammy
fedusia Jul 17, 2023
a1ef3bd
Jammy-fixes for yc checker patch to compile
reshke Jul 17, 2023
009f1fa
Restrict DROP DATABASE to superuser only
May 28, 2024
9afe831
[MDB-28474] Increate readaheadchunk for XlogPageReader()
x4m Jul 8, 2024
3758584
parameter max_log_size to truncate logs
diPhantxm Sep 9, 2024
4660aa3
truncate query to be logged in simple query
diPhantxm Nov 12, 2024
4cf0e42
Never check for superuser in walsender
Sep 10, 2024
19975f3
Pull request #199: bump llvm to 18 pg 16.4
Nov 2, 2024
789af35
Support FORCE option in analyze command
diPhantxm Aug 26, 2024
feee557
Use fadvise in walsender
x4m Nov 12, 2024
2dbd07e
GUCify NUM_BUFFER_PARTITIONS
x4m Nov 13, 2024
01caaac
Change storage class for mdb_replication utilities
Dec 11, 2024
f8523bb
Add CI
reshke Jan 16, 2025
11c1c06
MDB-32132: fix grantor selection for mdb_superuser (#5)
reshke Jan 17, 2025
52bc809
Do not use schema public in mdb_superuser regression tests (#8)
reshke Jan 21, 2025
6026436
Rework docker image logic
EinKrebs Jan 24, 2025
3451cbf
Fix CI
EinKrebs Jan 24, 2025
4dfe562
check-world in worklows in PG16 (#17)
EinKrebs Jan 24, 2025
d1c0f62
Introduce mdb_read_all_data/mdb_write_all_data
reshke Feb 7, 2025
353f194
Add check for mdb_service_auth role
reshke Apr 26, 2025
a06e7ac
Fix CI && fast CI circuit (#24)
reshke Apr 26, 2025
2c1ab98
Allow usage on schema for mdb_read_all_data (#23)
reshke Apr 26, 2025
3d458c9
Use mirror apt repo (#39)
EinKrebs May 30, 2025
313083b
Refactor regress Dockerfile
EinKrebs Jun 2, 2025
396d433
Update Dockerfile: try
reshke Aug 17, 2025
d044e2f
pg_stat_statements.c: cancelable qtext_load_file
rkhapov May 12, 2025
6fb2c2b
MDB-40410: Allow to kill backends which have application_name startin…
vicpopov Dec 1, 2025
a41be22
pg_dump: Add dumpSchema and dumpData derivative flags.
nathan-bossart Nov 25, 2024
ff830e7
Add TAP test for MDB-kill feature
reshke Dec 8, 2025
6617f48
v6 of bt_page_items pretty-print
reshke Jan 18, 2026
658a853
Add archive_mode=shared for coordinated WAL archiving
x4m Feb 10, 2026
c1f1e55
Mark ancestor timeline WAL segments as archived
x4m Feb 10, 2026
c03a014
Optimize ProcessArchivalReport to avoid directory scans
x4m Feb 11, 2026
0a4decc
Fuse shared archive with ycmdb.shared_archive
x4m Feb 12, 2026
7201355
[PATCH] REASSIGN OWNED: ignore subscriptions in other databases
Apr 14, 2026
9427963
Introduce transaction_timeout
rkhapov Apr 19, 2026
c44f074
Fix two bugs in archive_mode=shared on standby
x4m Apr 17, 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


55 changes: 55 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
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

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-key adv --keyserver keyserver.ubuntu.com --recv-keys FF5F4D0E27393420

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 \
pkg-config python3-dev systemtap-sdt-dev tcl-dev uuid-dev xsltproc zlib1g-dev \
bison dh-exec docbook-xml docbook-xsl

RUN apt-get install -y \
libmdblocales1 libmdblocales-dev \
postgresql-client-common=${PGDG_VER} \
postgresql-common=${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