54 Commits

Author SHA256 Message Date
3d49d5b791 Accepting request 1335839 from server:database:postgresql
- bsc#1258754: Update to 17.9 to fix two regressions in 17.8:
  * https://www.postgresql.org/docs/release/17.9/
  * The substring() function raises an error "invalid byte sequence
    for encoding" on non-ASCII text values if the source of
    that value is a database column.
  * A standby may halt and return an error "could not access status
    of transaction".

OBS-URL: https://build.opensuse.org/request/show/1335839
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=17
2026-03-02 17:46:59 +00:00
7231e8d11e - bsc#1258754: Update to 17.9 to fix two regressions in 17.8:
* https://www.postgresql.org/docs/release/17.9/
  * The substring() function raises an error "invalid byte sequence
    for encoding" on non-ASCII text values if the source of
    that value is a database column.
  * A standby may halt and return an error "could not access status
    of transaction".

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=51
2026-03-02 11:12:05 +00:00
5e25102d14 Accepting request 1332745 from server:database:postgresql
- Update to 17.8:
  * https://www.postgresql.org/about/news/p-3235/
  * https://www.postgresql.org/docs/release/17.8/
  * bsc#1258008, CVE-2026-2003: Guard against unexpected
    dimensions of oidvector/int2vector
  * bsc#1258009, CVE-2026-2004: Harden selectivity estimators
    against being attached to operators that accept unexpected
    data types.
  * bsc#1258010, CVE-2026-2005: Fix buffer overrun in
    contrib/pgcrypto's PGP decryption functions.
  * bsc#1258011, CVE-2026-2006: Fix inadequate validation of
    multibyte character lengths.
  * obsoletes llvm-21-aarch64.patch
- Disown /var/lib/pgsql to support transactional updates.

OBS-URL: https://build.opensuse.org/request/show/1332745
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=16
2026-02-12 18:37:50 +00:00
8b5bd836f2 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=49 2026-02-12 16:10:13 +00:00
4fec31ebda OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=48 2026-02-12 16:06:45 +00:00
97ab20c851 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=47 2026-02-12 16:06:22 +00:00
a311625d61 - Update to 17.8:
* https://www.postgresql.org/about/news/p-3235/
  * https://www.postgresql.org/docs/release/17.8/
  * bsc#1258008, CVE-2026-2003: Guard against unexpected
    dimensions of oidvector/int2vector
  * bsc#1258009, CVE-2026-2004: Harden selectivity estimators
    against being attached to operators that accept unexpected
    data types.
  * bsc#1258010, CVE-2026-2005: Fix buffer overrun in
    contrib/pgcrypto's PGP decryption functions.
  * bsc#1258011, CVE-2026-2006: Fix inadequate validation of
    multibyte character lengths.
- Disown /var/lib/pgsql to support transactional updates.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=46
2026-02-12 15:50:32 +00:00
8ee6b8e7f0 Accepting request 1323486 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1323486
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=15
2025-12-18 17:36:10 +00:00
adc34b6a3a Accepting request 1322545 from home:Guillaume_G:branches:server:database:postgresql
- Fix build on aarch64 with upstream commit 0dceba2:
  * llvm-21-aarch64.patch

OBS-URL: https://build.opensuse.org/request/show/1322545
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=44
2025-12-18 09:15:45 +00:00
40a7cfd9e9 Accepting request 1320373 from server:database:postgresql
- Fix build with uring for post SLE15 code streams.

- Use %product_libs_llvm_ver to determine the LLVM version.
- Remove conditionals for obsolete PostgreSQL releases.

- Update to 17.7:
  * https://www.postgresql.org/about/news/p-3171/
  * https://www.postgresql.org/docs/release/17.7/
  * bsc#1253332, CVE-2025-12817: Missing check for CREATE
    privileges on the schema in CREATE STATISTICS allowed table
    owners to create statistics in any schema, potentially leading
    to unexpected naming conflicts.
  * bsc#1253333, CVE-2025-12818: Several places in libpq were not
    sufficiently careful about computing the required size of a
    memory allocation. Sufficiently large inputs could cause
    integer overflow, resulting in an undersized buffer, which
    would then lead to writing past the end of the buffer.

OBS-URL: https://build.opensuse.org/request/show/1320373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=14
2025-11-28 15:52:35 +00:00
e0ed72434d - Fix build with uring for post SLE15 code streams.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=42
2025-11-24 16:43:51 +00:00
c533432a5e - Use %product_libs_llvm_ver to determine the LLVM version.
- Remove conditionals for obsolete PostgreSQL releases.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=41
2025-11-14 17:17:07 +00:00
58e78ef5ce OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=40 2025-11-13 15:52:27 +00:00
8c078e37ec - Update to 17.7:
* https://www.postgresql.org/docs/release/17.7/
  * bsc#1253332, CVE-2025-12817: Missing check for CREATE
    privileges on the schema in CREATE STATISTICS allowed table
    owners to create statistics in any schema, potentially leading
    to unexpected naming conflicts.
  * bsc#1253333, CVE-2025-12818: Several places in libpq were not
    sufficiently careful about computing the required size of a
    memory allocation. Sufficiently large inputs could cause
    integer overflow, resulting in an undersized buffer, which
    would then lead to writing past the end of the buffer.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=39
2025-11-13 14:35:43 +00:00
de6d01b92d Accepting request 1307161 from server:database:postgresql
- Sync spec file with version 18.

- switch library to pg 18

OBS-URL: https://build.opensuse.org/request/show/1307161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=13
2025-09-26 20:24:16 +00:00
4229e2ab58 format spec file cleanup
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=37
2025-09-25 14:30:33 +00:00
8a87255dc8 Accepting request 1307132 from server:database:postgresql:devel
- Sync spec file with version 18.

- switch library to pg 18

OBS-URL: https://build.opensuse.org/request/show/1307132
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=36
2025-09-25 14:08:19 +00:00
9afb9c0110 Accepting request 1299472 from server:database:postgresql
Forwarded request #1299467 from darix

https://www.postgresql.org/about/news/postgresql-176-1610-1514-1419-1322-and-18-beta-3-released-3118/

OBS-URL: https://build.opensuse.org/request/show/1299472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=12
2025-08-16 18:36:57 +00:00
f75502eeb5 Accepting request 1299467 from server:database:postgresql:devel
https://www.postgresql.org/about/news/postgresql-176-1610-1514-1419-1322-and-18-beta-3-released-3118/

OBS-URL: https://build.opensuse.org/request/show/1299467
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=34
2025-08-14 20:11:50 +00:00
aef6ef0693 Accepting request 1278023 from server:database:postgresql
- Upgrade to 17.5:
  * bsc#1242931, CVE-2025-4207: postgresql: PostgreSQL GB18030
    encoding validation can read one byte past end of allocation
    for text that fails validation.
  * https://www.postgresql.org/docs/release/17.5/
  * https://www.postgresql.org/about/news/p-3072/
- Add postresql-pg_config_paths.patch to Fix a race condition
  while generating pg_config_paths.h.

OBS-URL: https://build.opensuse.org/request/show/1278023
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=11
2025-05-23 12:28:09 +00:00
fa5b6bae28 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=32 2025-05-09 11:42:33 +00:00
3e959eda07 - Update to 17.5:
* bsc#1242931, CVE-2025-4207: postgresql: PostgreSQL GB18030
    encoding validation can read one byte past end of allocation
    for text that fails validation.
  * https://www.postgresql.org/docs/release/17.5/
  * https://www.postgresql.org/about/news/p-3072/

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=31
2025-05-09 10:18:22 +00:00
f01986fb2c Accepting request 1247457 from server:database:postgresql
- Upgrade to 17.4:
  * Improve behavior of libpq's quoting functions:
    The changes made for CVE-2025-1094 had one serious oversight:
    PQescapeLiteral() and PQescapeIdentifier() failed to honor
    their string length parameter, instead always reading to the
    input string's trailing null. This resulted in including
    unwanted text in the output, if the caller intended to
    truncate the string via the length parameter. With very bad
    luck it could cause a crash due to reading off the end of
    memory.
    In addition, modify all these quoting functions so that when
    invalid encoding is detected, an invalid sequence is
    substituted for just the first byte of the presumed
    character, not all of it. This reduces the risk of problems
    if a calling application performs additional processing on
    the quoted string.
  * Fix small memory leak in pg_createsubscriber.
  * https://www.postgresql.org/docs/release/17.4/
  * https://www.postgresql.org/about/news/p-3018/

OBS-URL: https://build.opensuse.org/request/show/1247457
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=10
2025-02-21 20:35:03 +00:00
2bd68d3205 - Fix a race condition while generating pg_config_paths.h.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=29
2025-02-21 18:31:38 +00:00
edf1422692 - Upgrade to 17.4:
* Improve behavior of libpq's quoting functions:
    The changes made for CVE-2025-1094 had one serious oversight:
    PQescapeLiteral() and PQescapeIdentifier() failed to honor
    their string length parameter, instead always reading to the
    input string's trailing null. This resulted in including
    unwanted text in the output, if the caller intended to
    truncate the string via the length parameter. With very bad
    luck it could cause a crash due to reading off the end of
    memory.
    In addition, modify all these quoting functions so that when
    invalid encoding is detected, an invalid sequence is
    substituted for just the first byte of the presumed
    character, not all of it. This reduces the risk of problems
    if a calling application performs additional processing on
    the quoted string.
  * Fix small memory leak in pg_createsubscriber.
  * https://www.postgresql.org/docs/release/17.4/
  * https://www.postgresql.org/about/news/p-3018/

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=28
2025-02-20 16:31:54 +00:00
b2e7b354b1 Accepting request 1245716 from server:database:postgresql
- Fix build, add postgresql-tzdata2025a.patch
- Upgrade to 17.3:
  * bsc#1237093, CVE-2025-1094: Harden PQescapeString and allied
    functions against invalidly-encoded input strings.
  * obsoletes postgresql-tzdata2025a.patch
  * https://www.postgresql.org/docs/release/17.3/
  * https://www.postgresql.org/about/news/-3015/

OBS-URL: https://build.opensuse.org/request/show/1245716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=9
2025-02-14 18:19:54 +00:00
690adc86dc - Upgrade to 17.3:
* bsc#1237093, CVE-2025-1094: Harden PQescapeString and allied
    functions against invalidly-encoded input strings.
  * obsoletes postgresql-tzdata2025a.patch
  * https://www.postgresql.org/docs/release/17.3/
  * https://www.postgresql.org/about/news/-3015/

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=26
2025-02-13 14:47:14 +00:00
9eaa289b4a Accepting request 1241205 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1241205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=8
2025-01-30 13:49:10 +00:00
c6a7949b42 Accepting request 1241204 from home:jsulig:branches:devel:LoongArch:Factory
- Apply postgresql-tzdata2025a.patch regardless of
  whether LLVM JIT is enabled

OBS-URL: https://build.opensuse.org/request/show/1241204
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=24
2025-01-29 14:03:36 +00:00
4f4973df83 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=23 2025-01-28 12:52:29 +00:00
f69b08a63c - Fix build, add postgresql-tzdata2025a.patch
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=22
2025-01-28 12:37:12 +00:00
7313f07f31 Accepting request 1237832 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1237832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=7
2025-01-15 16:42:27 +00:00
c532e84fb6 Accepting request 1236887 from home:jsulig:branches:devel:LoongArch:Factory
- Disable LLVM JIT on loongarch64
  Tests fail with LLVM JIT

OBS-URL: https://build.opensuse.org/request/show/1236887
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=20
2025-01-14 14:03:59 +00:00
c509864f96 Accepting request 1225748 from server:database:postgresql
- Upgrade to 17.2:
  * Repair ABI break for extensions that work with struct
    ResultRelInfo.
  * Restore functionality of ALTER {ROLE|DATABASE} SET role.
  * Fix cases where a logical replication slot's restart_lsn could
    go backwards.
  * Avoid deleting still-needed WAL files during pg_rewind.
  * Fix race conditions associated with dropping shared statistics
    entries.
  * Count index scans in contrib/bloom indexes in the statistics
    views, such as the pg_stat_user_indexes.idx_scan counter.
  * Fix crash when checking to see if an index's opclass options
    have changed.
  * Avoid assertion failure caused by disconnected NFA sub-graphs
    in regular expression parsing.
  * https://www.postgresql.org/about/news/p-2965/
  * https://www.postgresql.org/docs/release/17.2/

OBS-URL: https://build.opensuse.org/request/show/1225748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=6
2024-11-22 22:50:50 +00:00
16a7aa3abb - Upgrade to 17.2:
* Repair ABI break for extensions that work with struct
    ResultRelInfo.
  * Restore functionality of ALTER {ROLE|DATABASE} SET role.
  * Fix cases where a logical replication slot's restart_lsn could
    go backwards.
  * Avoid deleting still-needed WAL files during pg_rewind.
  * Fix race conditions associated with dropping shared statistics
    entries.
  * Count index scans in contrib/bloom indexes in the statistics
    views, such as the pg_stat_user_indexes.idx_scan counter.
  * Fix crash when checking to see if an index's opclass options
    have changed.
  * Avoid assertion failure caused by disconnected NFA sub-graphs
    in regular expression parsing.
  * https://www.postgresql.org/about/news/p-2965/
  * https://www.postgresql.org/docs/release/17.2/

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=18
2024-11-21 17:46:24 +00:00
d741c1457d Accepting request 1224229 from server:database:postgresql
- Upgrade to 17.1:
  * CVE-2024-10976, bsc#1233323: Ensure cached plans are marked as
    dependent on the calling role when RLS applies to a
    non-top-level table reference.
  * CVE-2024-10977, bsc#1233325: Make libpq discard error messages
    received during SSL or GSS protocol negotiation.
  * CVE-2024-10978, bsc#1233326: Fix unintended interactions
    between SET SESSION AUTHORIZATION and SET ROLE
  * CVE-2024-10979, bsc#1233327: Prevent trusted PL/Perl code from
    changing environment variables.
  * obsoletes postgresql17-jsonb_jsonpath.patch
  * https://www.postgresql.org/about/news/p-2955/
  * https://www.postgresql.org/docs/release/17.1/

- Upgrade to 17.0:
  * https://www.postgresql.org/about/news/p-2910/

OBS-URL: https://build.opensuse.org/request/show/1224229
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=5
2024-11-15 14:38:21 +00:00
d1cf2f7785 - Upgrade to 17.1:
* CVE-2024-10976, bsc#1233323: Ensure cached plans are marked as
    dependent on the calling role when RLS applies to a
    non-top-level table reference.
  * CVE-2024-10977, bsc#1233325: Make libpq discard error messages
    received during SSL or GSS protocol negotiation.
  * CVE-2024-10978, bsc#1233326: Fix unintended interactions
    between SET SESSION AUTHORIZATION and SET ROLE
  * CVE-2024-10979, bsc#1233327: Prevent trusted PL/Perl code from
    changing environment variables.
  * obsoletes postgresql17-jsonb_jsonpath.patch
  * https://www.postgresql.org/about/news/p-2955/
  * https://www.postgresql.org/docs/release/17.1/
- Upgrade to 17.0:
  * https://www.postgresql.org/about/news/p-2910/

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=16
2024-11-14 14:59:31 +00:00
3b11b9ab3a Accepting request 1220587 from server:database:postgresql
- Add postgresql17-jsonb_jsonpath.patch as a temporary build fix.

OBS-URL: https://build.opensuse.org/request/show/1220587
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=4
2024-11-04 21:47:08 +00:00
OBS User buildservice-autocommit
e8b9cd3506 baserev update by copy to link target
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=15
2024-11-04 21:47:08 +00:00
OBS User buildservice-autocommit
c12dbe0fc4 Updating link to change in openSUSE:Factory/postgresql17 revision 4
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=0377df6536a5b0ba9f6ebf6c4a820c3d
2024-11-04 21:47:08 +00:00
392c2202cf OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=14 2024-11-04 15:39:35 +00:00
e30a447cb3 - Add postgresql17-jsonb_jsonpath.patch as a temporary build fix.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=13
2024-11-04 14:20:34 +00:00
356e69e36c Accepting request 1216991 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1216991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=3
2024-10-23 19:08:45 +00:00
95d7737bdb Accepting request 1206049 from home:favogt:branches:server:database:postgresql
- Use cmake(LLVM) < instead of <= to also allow building against
  LLVM 18.1 and newer 18.x versions

OBS-URL: https://build.opensuse.org/request/show/1206049
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=11
2024-10-22 09:28:28 +00:00
33c6060a56 Accepting request 1203910 from server:database:postgresql
- Upgrade to 17.0.0:
  * New memory management system for VACUUM, which reduces memory
    consumption and can improve overall vacuuming performance.
  * New SQL/JSON capabilities, including constructors, identity
    functions, and the JSON_TABLE() function, which converts JSON
    data into a table representation.
  * Various query performance improvements, including for
    sequential reads using streaming I/O, write throughput under
    high concurrency, and searches over multiple values in a btree
    index.
  * Logical replication enhancements, including:
    + Failover control
    + pg_createsubscriber, a utility that creates logical replicas
      from physical standbys
    + pg_upgrade now preserves replication slots on both publishers
      and subscribers
  * New client-side connection option, sslnegotiation=direct, that
    performs a direct TLS handshake to avoid a round-trip
    negotiation.
  * pg_basebackup now supports incremental backup.
  * COPY adds a new option, ON_ERROR ignore, that allows a copy
    operation to continue in the event of an error.
  * https://www.postgresql.org/about/news/p-2936/
  * https://www.postgresql.org/docs/17/release-17.html

OBS-URL: https://build.opensuse.org/request/show/1203910
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=2
2024-09-27 15:10:42 +00:00
7dfe71860a OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=9 2024-09-26 13:31:55 +00:00
47f0a10f29 - Upgrade to 17.0.0:
* New memory management system for VACUUM, which reduces memory
    consumption and can improve overall vacuuming performance.
  * New SQL/JSON capabilities, including constructors, identity
    functions, and the JSON_TABLE() function, which converts JSON
    data into a table representation.
  * Various query performance improvements, including for
    sequential reads using streaming I/O, write throughput under
    high concurrency, and searches over multiple values in a btree
    index.
  * Logical replication enhancements, including:
    + Failover control
    + pg_createsubscriber, a utility that creates logical replicas
      from physical standbys
    + pg_upgrade now preserves replication slots on both publishers
      and subscribers
  * New client-side connection option, sslnegotiation=direct, that
    performs a direct TLS handshake to avoid a round-trip
    negotiation.
  * pg_basebackup now supports incremental backup.
  * COPY adds a new option, ON_ERROR ignore, that allows a copy
    operation to continue in the event of an error.
  * https://www.postgresql.org/about/news/p-2936/
  * https://www.postgresql.org/docs/17/release-17.html

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=8
2024-09-26 13:30:15 +00:00
87bfc726d5 Accepting request 1202171 from server:database:postgresql
New version 17, which also is the new default.

OBS-URL: https://build.opensuse.org/request/show/1202171
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql17?expand=0&rev=1
2024-09-23 13:19:01 +00:00
9534305385 - Upgrade to 17rc1
https://www.postgresql.org/about/news/postgresql-17-rc1-released-2926/

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=6
2024-09-07 09:34:15 +00:00
4fe6db4362 fix version string
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=5
2024-08-10 16:22:53 +00:00