47 Commits

Author SHA256 Message Date
f31f832f86 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
115fbcbf19 - Fix build on aarch64 with upstream commit 0dceba2:
* llvm-21-aarch64.patch

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=44
2025-12-18 09:15:45 +00:00
9aa05960bf 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
1aa0a4abd3 - 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
fa757f020d - 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
6f103c069e OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=40 2025-11-13 15:52:27 +00:00
d8f91244ee - 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
e21a28b081 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
de0a3f2394 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
054bce9cc1 - Sync spec file with version 18.
- switch library to pg 18

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=36
2025-09-25 14:08:19 +00:00
d4a4dba30c 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
d2064b24dd https://www.postgresql.org/about/news/postgresql-176-1610-1514-1419-1322-and-18-beta-3-released-3118/
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=34
2025-08-14 20:11:50 +00:00
3a00a06c42 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
037ea5bd33 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=32 2025-05-09 11:42:33 +00:00
ad120cda7b - 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
c7568692bf 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
372aa71e99 - 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
99299d5d3c - 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
ff49f6b1ab 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
d99b380486 - 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
a8bd572dad 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
f0e316a506 - Apply postgresql-tzdata2025a.patch regardless of
whether LLVM JIT is enabled

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=24
2025-01-29 14:03:36 +00:00
5d5a942584 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=23 2025-01-28 12:52:29 +00:00
83b70c385f - 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
3208fb002b 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
987c782338 - Disable LLVM JIT on loongarch64
Tests fail with LLVM JIT

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=20
2025-01-14 14:03:59 +00:00
a5739509d2 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
ccaec5f6c7 - 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
b645394312 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
5eedb86867 - 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
74854c9820 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
ebb6dca4f3 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
9a53814efa 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
e699abd0b0 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=14 2024-11-04 15:39:35 +00:00
3b56bac9a6 - 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
6b391b2c24 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
45f41a111f - Use cmake(LLVM) < instead of <= to also allow building against
LLVM 18.1 and newer 18.x versions

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=11
2024-10-22 09:28:28 +00:00
0df7f5ad3f 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
77b9817cc0 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=9 2024-09-26 13:31:55 +00:00
c7930b9ba3 - 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
6188c3576e 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
6c1ece208a - 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
f7b8af70b2 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
bbf7bf7c2b https://www.postgresql.org/about/news/postgresql-164-158-1413-1316-1220-and-17-beta-3-released-2910/
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=4
2024-08-10 14:38:00 +00:00
d4d9a638e1 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=3 2024-06-27 14:42:53 +00:00
3c7a099e5a - Upgrade to 17beta1.
- Allow LLVM <= 18

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=2
2024-05-27 10:56:17 +00:00
22d5306fcd typo
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql17?expand=0&rev=1
2024-05-15 08:20:05 +00:00