<feed xmlns='http://www.w3.org/2005/Atom'>
<title>postgresql.git/meson_options.txt, branch master</title>
<subtitle>This is the main PostgreSQL git repository.</subtitle>
<id>http://git.postgresql.org/cgit/postgresql.git/atom?h=master</id>
<link rel='self' href='http://git.postgresql.org/cgit/postgresql.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/'/>
<updated>2026-04-10T13:53:58+00:00</updated>
<entry>
<title>Revert "Add built-in fuzzing harnesses for security testing."</title>
<updated>2026-04-10T13:53:58+00:00</updated>
<author>
<name>Andrew Dunstan</name>
</author>
<published>2026-04-10T13:53:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=eec8e234bdcbe43e0407b03c44484bf75423d515'/>
<id>urn:sha1:eec8e234bdcbe43e0407b03c44484bf75423d515</id>
<content type='text'>
This reverts commit 4a18907b412e77684bf888ad6d1b4844d220196a.

inadvertenly pushed, mea culpa
</content>
</entry>
<entry>
<title>Add built-in fuzzing harnesses for security testing.</title>
<updated>2026-04-10T11:13:08+00:00</updated>
<author>
<name>Andrew Dunstan</name>
</author>
<published>2026-04-09T18:20:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=4a18907b412e77684bf888ad6d1b4844d220196a'/>
<id>urn:sha1:4a18907b412e77684bf888ad6d1b4844d220196a</id>
<content type='text'>
Add 12 libFuzzer-compatible fuzzing harnesses behind a new -Dfuzzing=true
meson option.  Each harness implements LLVMFuzzerTestOneInput() and can
also be built in standalone mode (reading from files) when no fuzzer
engine is detected.

Frontend targets (no backend dependencies):
  fuzz_json            - non-incremental JSON parser (pg_parse_json)
  fuzz_json_incremental - incremental/chunked JSON parser
  fuzz_conninfo        - libpq connection string parser (PQconninfoParse)
  fuzz_pglz            - PGLZ decompressor (pglz_decompress)
  fuzz_unescapebytea   - libpq bytea unescape (PQunescapeBytea)
  fuzz_b64decode       - base64 decoder (pg_b64_decode)
  fuzz_saslprep        - SASLprep normalization (pg_saslprep)
  fuzz_parsepgarray    - array literal parser (parsePGArray)
  fuzz_pgbench_expr    - pgbench expression parser (via Bison/Flex)

Backend targets (link against postgres_lib):
  fuzz_rawparser       - SQL raw parser (raw_parser)
  fuzz_regex           - regex engine (pg_regcomp/pg_regexec)
  fuzz_typeinput       - type input functions (numeric/date/timestamp/interval)
</content>
</entry>
<entry>
<title>Update copyright for 2026</title>
<updated>2026-01-01T18:24:10+00:00</updated>
<author>
<name>Bruce Momjian</name>
</author>
<published>2026-01-01T18:24:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=451c43974f8e199097d97624a4952ad0973cea61'/>
<id>urn:sha1:451c43974f8e199097d97624a4952ad0973cea61</id>
<content type='text'>
Backpatch-through: 14
</content>
</entry>
<entry>
<title>Add support for basic NUMA awareness</title>
<updated>2025-04-07T21:08:17+00:00</updated>
<author>
<name>Tomas Vondra</name>
</author>
<published>2025-04-07T20:51:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=65c298f61fc70f2f960437c05649f71b862e2c48'/>
<id>urn:sha1:65c298f61fc70f2f960437c05649f71b862e2c48</id>
<content type='text'>
Add basic NUMA awareness routines, using a minimal src/port/pg_numa.c
portability wrapper and an optional build dependency, enabled by
--with-libnuma configure option. For now this is Linux-only, other
platforms may be supported later.

A built-in SQL function pg_numa_available() allows checking NUMA
support, i.e. that the server was built/linked with the NUMA library.

The main function introduced is pg_numa_query_pages(), which allows
determining the NUMA node for individual memory pages. Internally the
function uses move_pages(2) syscall, as it allows batching, and is more
efficient than get_mempolicy(2).

Author: Jakub Wartak &lt;jakub.wartak@enterprisedb.com&gt;
Co-authored-by: Bertrand Drouvot &lt;bertranddrouvot.pg@gmail.com&gt;
Reviewed-by: Andres Freund &lt;andres@anarazel.de&gt;
Reviewed-by: Álvaro Herrera &lt;alvherre@alvh.no-ip.org&gt;
Reviewed-by: Tomas Vondra &lt;tomas@vondra.me&gt;
Discussion: https://postgr.es/m/CAKZiRmxh6KWo0aqRqvmcoaX2jUxZYb4kGp3N%3Dq1w%2BDiH-696Xw%40mail.gmail.com
</content>
</entry>
<entry>
<title>aio: Add liburing dependency</title>
<updated>2025-03-26T23:45:32+00:00</updated>
<author>
<name>Andres Freund</name>
</author>
<published>2025-03-18T18:40:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=8eadd5c73c44708ecd45b9fd3ac54a550511d16f'/>
<id>urn:sha1:8eadd5c73c44708ecd45b9fd3ac54a550511d16f</id>
<content type='text'>
Will be used in a subsequent commit, to implement io_method=io_uring. Kept
separate for easier review.

Reviewed-by: Noah Misch &lt;noah@leadboat.com&gt;
Discussion: https://postgr.es/m/uvrtrknj4kdytuboidbhwclo4gxhswwcpgadptsjvjqcluzmah%40brqs62irg4dt
</content>
</entry>
<entry>
<title>Add support for OAUTHBEARER SASL mechanism</title>
<updated>2025-02-20T15:25:17+00:00</updated>
<author>
<name>Daniel Gustafsson</name>
</author>
<published>2025-02-20T15:25:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=b3f0be788afc17d2206e1ae1c731d8aeda1f2f59'/>
<id>urn:sha1:b3f0be788afc17d2206e1ae1c731d8aeda1f2f59</id>
<content type='text'>
This commit implements OAUTHBEARER, RFC 7628, and OAuth 2.0 Device
Authorization Grants, RFC 8628.  In order to use this there is a
new pg_hba auth method called oauth.  When speaking to a OAuth-
enabled server, it looks a bit like this:

  $ psql 'host=example.org oauth_issuer=... oauth_client_id=...'
  Visit https://oauth.example.org/login and enter the code: FPQ2-M4BG

Device authorization is currently the only supported flow so the
OAuth issuer must support that in order for users to authenticate.
Third-party clients may however extend this and provide their own
flows.  The built-in device authorization flow is currently not
supported on Windows.

In order for validation to happen server side a new framework for
plugging in OAuth validation modules is added.  As validation is
implementation specific, with no default specified in the standard,
PostgreSQL does not ship with one built-in.  Each pg_hba entry can
specify a specific validator or be left blank for the validator
installed as default.

This adds a requirement on libcurl for the client side support,
which is optional to build, but the server side has no additional
build requirements.  In order to run the tests, Python is required
as this adds a https server written in Python.  Tests are gated
behind PG_TEST_EXTRA as they open ports.

This patch has been a multi-year project with many contributors
involved with reviews and in-depth discussions:  Michael Paquier,
Heikki Linnakangas, Zhihong Yu, Mahendrakar Srinivasarao, Andrey
Chudnovsky and Stephen Frost to name a few.  While Jacob Champion
is the main author there have been some levels of hacking by others.
Daniel Gustafsson contributed the validation module and various bits
and pieces; Thomas Munro wrote the client side support for kqueue.

Author: Jacob Champion &lt;jacob.champion@enterprisedb.com&gt;
Co-authored-by: Daniel Gustafsson &lt;daniel@yesql.se&gt;
Co-authored-by: Thomas Munro &lt;thomas.munro@gmail.com&gt;
Reviewed-by: Daniel Gustafsson &lt;daniel@yesql.se&gt;
Reviewed-by: Peter Eisentraut &lt;peter@eisentraut.org&gt;
Reviewed-by: Antonin Houska &lt;ah@cybertec.at&gt;
Reviewed-by: Kashif Zeeshan &lt;kashi.zeeshan@gmail.com&gt;
Discussion: https://postgr.es/m/d1b467a78e0e36ed85a09adf979d04cf124a9d4b.camel@vmware.com
</content>
</entry>
<entry>
<title>Update copyright for 2025</title>
<updated>2025-01-01T16:21:55+00:00</updated>
<author>
<name>Bruce Momjian</name>
</author>
<published>2025-01-01T16:21:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=50e6eb731d98ab6d0e625a0b87fb327b172bbebd'/>
<id>urn:sha1:50e6eb731d98ab6d0e625a0b87fb327b172bbebd</id>
<content type='text'>
Backpatch-through: 13
</content>
</entry>
<entry>
<title>Make PG_TEST_EXTRA env var override the "meson setup" option</title>
<updated>2024-11-04T12:09:25+00:00</updated>
<author>
<name>Heikki Linnakangas</name>
</author>
<published>2024-11-04T12:09:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=3d1aec225ac4a1199079150dabfd0d34c5054127'/>
<id>urn:sha1:3d1aec225ac4a1199079150dabfd0d34c5054127</id>
<content type='text'>
"meson test" used to ignore the PG_TEST_EXTRA environment variable,
which meant that in order to run additional tests, you had to run
"meson setup -DPG_TEST_EXTRA=...". That's somewhat expensive, and not
consistent with autoconf builds. Allow PG_TEST_EXTRA environment
variable to override the setup-time option at run time, so that you
can do "PG_TEST_EXTRA=... meson test".

To implement this, the configuration time value is passed as an extra
"--pg-test-extra" argument to testwrap instead of adding it to the
test environment. If the environment variable is set at the time of
running test, testwrap uses the value from the environment variable
and ignores the --pg-test-extra option.

Now that "meson test" obeys the environment variable, we can remove it
from the "meson setup" steps in the CI script. It will now be picked
up from the environment variable like with "make check".

Author: Nazir Bilal Yavuzk, Ashutosh Bapat
Reviewed-by: Ashutosh Bapat with inputs from Tom Lane and Andrew Dunstan
</content>
</entry>
<entry>
<title>Remove spinlocks and atomics from meson_options.txt.</title>
<updated>2024-07-30T11:37:14+00:00</updated>
<author>
<name>Thomas Munro</name>
</author>
<published>2024-07-30T11:31:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=06ffce4559d0f7d29e0d92d18b72b4b96772ad1c'/>
<id>urn:sha1:06ffce4559d0f7d29e0d92d18b72b4b96772ad1c</id>
<content type='text'>
Commits e2562667 and 81385261 removed the configure equivalents, but
forgot to remove these options from meson_options.txt.

Revealed by the fact that build farm animals rorqual and francolin
didn't fail, despite being configured to set those options to off.  They
should now fail with unknown option, until they are adjusted.
</content>
</entry>
<entry>
<title>Allow selecting the git revision to be packaged by "make dist".</title>
<updated>2024-05-03T15:08:50+00:00</updated>
<author>
<name>Tom Lane</name>
</author>
<published>2024-05-03T15:08:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=01df14763431df1506cbae206945cd165c66d1d3'/>
<id>urn:sha1:01df14763431df1506cbae206945cd165c66d1d3</id>
<content type='text'>
Commit 619bc23a1 changed "make dist" to invoke "git archive",
but hard-wired the call to specify that the HEAD revision should
be packaged.  Our tarball building process needs to be able to
specify which git commit to package (notably, for packaging
back branches).  While we could make that work with some hackery
to operate in detached-HEAD state, it's a lot nicer just to expose
git archive's ability to specify what to package.  Hence, invent
a new make variable PG_GIT_REVISION.  This is undocumented, but
so is "make dist".

Also make corresponding changes in the meson scripts.  We have no
near-term intention of using that for package building, but it
will likely happen eventually, so stay prepared.

Discussion: https://postgr.es/m/3552543.1713909947@sss.pgh.pa.us
</content>
</entry>
</feed>
