Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
1fd059d
pg_dump: Add dumpSchema and dumpData derivative flags.
nathan-bossart Nov 25, 2024
1475afd
Add --no-sync to pg_upgrade's uses of pg_dump and pg_dumpall.
nathan-bossart Jul 1, 2024
5ef0a6b
Create functions pg_set_relation_stats, pg_clear_relation_stats.
jeff-davis Oct 11, 2024
d075de9
Allow pg_set_relation_stats() to set relpages to -1.
jeff-davis Oct 18, 2024
dddf537
Disable autovacuum for tables in stats import tests.
jeff-davis Oct 18, 2024
96c7b69
Change pg_*_relation_stats() functions to return type to void.
jeff-davis Oct 22, 2024
bc3b5ac
Add functions pg_set_attribute_stats() and pg_clear_attribute_stats().
jeff-davis Oct 22, 2024
5321b1e
Improve pg_set_attribute_stats() error message.
jeff-davis Oct 23, 2024
524f43d
Add functions pg_restore_relation_stats(), pg_restore_attribute_stats().
jeff-davis Oct 24, 2024
705b5be
Disallow modifying statistics on system columns.
jeff-davis Nov 22, 2024
d0f1615
Use in-place updates for pg_restore_relation_stats().
jeff-davis Dec 11, 2024
845cfba
Transfer statistics during pg_upgrade.
jeff-davis Feb 20, 2025
aad28f3
Allow non-superuser to cancel superuser tasks.
reshke Feb 26, 2024
e055aed
debian, ci and some internal pathes
reshke Feb 26, 2024
ec4e310
Untrust all contrib
Dec 26, 2023
fe2c51b
Disallow cancelation of syncronous commit V1
x4m Oct 27, 2020
22f8ff0
Extend multixact SLRU
x4m Dec 6, 2020
f1157e6
Mdb-admin patch and regression tests
reshke Apr 13, 2021
cb8f5cc
MDB replication role patch
x4m Dec 6, 2020
6efd494
Role mdb_superuser: feature and regress testsing
reshke Feb 21, 2023
8b78e74
MDB-40410: Allow to kill backends which have application_name startin…
vicpopov Dec 1, 2025
4d23f49
Fix MDB-signal process and add TAP test for feature
reshke Dec 8, 2025
8303260
Make mdb_admin and mdb_superuser an implicit grant with
reshke Aug 15, 2025
38a861c
provide [mdb -postgresql] restict grant roles in YC[MDB-16990]
reshke Feb 22, 2022
c5db0d0
MDB-16955 : disallow to kill repl mon in cloud
reshke May 11, 2022
75729e1
Demonstrate and fix lock of all SQL queries by pg_stat_statements
Sep 12, 2022
6d2c617
MDB-21297: forbit usage of COPY TO PROGRAMM and COPY FROM PROGRAMM to…
reshke Jan 18, 2023
d8d9d7e
Implement mdb-locales patch
usernamedt Feb 13, 2023
cbe6bdf
MDB-23247: startup param for auth passthrough under unpriviledged user
reshke May 11, 2023
e034ebe
Introduce mdb_read_all_data/mdb_write_all_data
reshke Feb 7, 2025
d02e82e
Add check for mdb_service_auth role
reshke Apr 26, 2025
c5f7887
Add mdb changelog
reshke Jul 5, 2023
b2d2e6f
Restrict DROP DATABASE to superuser only
May 28, 2024
2f4a9af
[MDB-28474] Increate readaheadchunk for XlogPageReader()
x4m Jul 8, 2024
4cda539
Use fadvise to prefetch WAL in xlogrecovery
Jun 23, 2022
d0e15b6
parameter max_log_size to truncate logs
diPhantxm Sep 9, 2024
4831b16
Support FORCE option in analyze command
diPhantxm Aug 26, 2024
c2fbcb7
truncate query to be logged in simple query
diPhantxm Nov 12, 2024
f10e67e
GUCify NUM_BUFFER_PARTITIONS
x4m Nov 13, 2024
82f0679
Change storage class for mdb_replication utilities
Dec 11, 2024
cd98647
Do not use schema public in mdb_superuser regression tests (#7)
reshke Jan 21, 2025
d6b059f
pg_stat_statements.c: cancelable qtext_load_file
rkhapov May 12, 2025
110d46f
v6 of bt_page_items pretty-print
reshke Jan 18, 2026
df3f429
Add archive_mode=shared for coordinated WAL archiving
x4m Feb 10, 2026
1ca4a3d
Mark ancestor timeline WAL segments as archived
x4m Feb 10, 2026
81c3615
Optimize ProcessArchivalReport to avoid directory scans
x4m Feb 11, 2026
d4ad4b8
Fuse shared archive with ycmdb.shared_archive
x4m Feb 12, 2026
e871cff
Fix two bugs in archive_mode=shared on standby
x4m Apr 17, 2026
a172190
REASSIGN OWNED: ignore subscriptions in other databases
alvherre Jan 1, 2026
5d132b0
Never trust `trusted` and `superuser` fields from extension controlfi…
reshke Apr 28, 2026
e782fab
Fix for pg_restore_attribute_stats().
jeff-davis Feb 21, 2025
312e650
Fix MCV input array checks in statistics restore functions
michaelpq May 11, 2026
c29f2eb
Adjust plperl tests for MDB.
May 13, 2026
a7204f2
Adapt regression test after CVE-2026-6575 fix backport
May 13, 2026
f2b19a8
Backport of UUIDv7 in pg 17
MasahikoSawada Dec 11, 2024
282f42a
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
The table of contents is too big for display.
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

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} \
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