8
0

5 Commits

Author SHA256 Message Date
da3bce37fc OBS-URL: https://build.opensuse.org/package/show/Java:packages/postgresql-jdbc?expand=0&rev=47 2025-07-03 06:57:35 +00:00
74f335cccb - Upgrade to upstream version 42.7.7
- security: Client Allows Fallback to Insecure Authentication Despite
    channelBinding=require configuration - CVE-2025-49146 (bsc#1244490)
  - fix: ensure Connection.isValid() returns true even if prepared
    statements deallocate
  - fix: isValid incorrectly called execute, instead of executeWithFlags
  - add the ability to turn off automatic LSN flush
  - Handle protocol 3.2 and wider cancel keys
  - Use query to find the current catalog instead of relying on the
    database in the connection URL or connection properties as this
    could be different if connected through a pooler or proxy
  - fix: ArrayIndexOutOfBounds when write big object into GSS enabled
    connection, make GSSInputStream robust in face of streams that
    produce incomplete reads
  - fix: EOFException on PreparedStatement#toString with unset bytea
    parameter

OBS-URL: https://build.opensuse.org/package/show/Java:packages/postgresql-jdbc?expand=0&rev=45
2025-06-12 10:49:44 +00:00
b23a8b80c4 OBS-URL: https://build.opensuse.org/package/show/Java:packages/postgresql-jdbc?expand=0&rev=43 2025-04-02 09:28:21 +00:00
836e13b544 OBS-URL: https://build.opensuse.org/package/show/Java:packages/postgresql-jdbc?expand=0&rev=42 2025-04-01 15:49:56 +00:00
1d51eb5a3a - Upgrade to upstream version 42.7.5
- fix: PgDatabaseMetaData implementation of catalog as param and return value
  - fix: Support default GSS credentials in the Java Postgres client
  - fix: return only the transactions accessible by the current_user in XAResource.recover
  - feat: don’t force send extra_float_digits for PostgreSQL >= 12 fix
  - fix: exclude “include columns” from the list of primary keys
  - perf: Enhance the meta query performance by specifying the oid
  - feat: support getObject(int, byte[].class) for bytea
  - fix: Added way to check for major server version, fixed check for RULE
  - fix: Reuse buffers and reduce allocations in GSSInputStream addresses
  - fix: getSchemas()
  - fix: Update rpm postgresql-jdbc.spec.tpl with scram-client
  - fix: Clearing thisRow and rowBuffer on close() of ResultSet
  - fix: As of version 18 the RULE privilege has been removed
  - fix: use buffered inputstream to create GSSInputStream
  - fix: boolean types not handled in SimpleQuery mode

OBS-URL: https://build.opensuse.org/package/show/Java:packages/postgresql-jdbc?expand=0&rev=41
2025-04-01 15:10:16 +00:00
4 changed files with 55 additions and 7 deletions

BIN
postgresql-42.7.2-jdbc-src.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
postgresql-42.7.7-jdbc-src.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,43 @@
-------------------------------------------------------------------
Thu Jun 12 09:15:13 UTC 2025 - Michael Calmer <mc@suse.com>
- Upgrade to upstream version 42.7.7
- security: Client Allows Fallback to Insecure Authentication Despite
channelBinding=require configuration - CVE-2025-49146 (bsc#1244490)
- fix: ensure Connection.isValid() returns true even if prepared
statements deallocate
- fix: isValid incorrectly called execute, instead of executeWithFlags
- add the ability to turn off automatic LSN flush
- Handle protocol 3.2 and wider cancel keys
- Use query to find the current catalog instead of relying on the
database in the connection URL or connection properties as this
could be different if connected through a pooler or proxy
- fix: ArrayIndexOutOfBounds when write big object into GSS enabled
connection, make GSSInputStream robust in face of streams that
produce incomplete reads
- fix: EOFException on PreparedStatement#toString with unset bytea
parameter
-------------------------------------------------------------------
Tue Apr 1 13:14:03 UTC 2025 - Michael Calmer <mc@suse.com>
- Upgrade to upstream version 42.7.5
- fix: PgDatabaseMetaData implementation of catalog as param and return value
- fix: Support default GSS credentials in the Java Postgres client
- fix: return only the transactions accessible by the current_user in XAResource.recover
- feat: dont force send extra_float_digits for PostgreSQL >= 12 fix
- fix: exclude “include columns” from the list of primary keys
- perf: Enhance the meta query performance by specifying the oid
- feat: support getObject(int, byte[].class) for bytea
- fix: Added way to check for major server version, fixed check for RULE
- fix: Reuse buffers and reduce allocations in GSSInputStream addresses
- fix: getSchemas()
- fix: Update rpm postgresql-jdbc.spec.tpl with scram-client
- fix: Clearing thisRow and rowBuffer on close() of ResultSet
- fix: As of version 18 the RULE privilege has been removed
- fix: use buffered inputstream to create GSSInputStream
- fix: boolean types not handled in SimpleQuery mode
-------------------------------------------------------------------
Thu Feb 29 16:40:26 UTC 2024 - Fridrich Strba <fstrba@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package postgresql-jdbc
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2000-2005, JPackage Project
#
# All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
Name: postgresql-jdbc
Version: 42.7.2
Version: 42.7.7
Release: 0
Summary: JDBC driver for PostgreSQL
License: BSD-2-Clause
@@ -26,7 +26,7 @@ URL: https://jdbc.postgresql.org/
Source0: https://repo1.maven.org/maven2/org/postgresql/postgresql/%{version}/postgresql-%{version}-jdbc-src.tar.gz
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: mvn(com.ongres.scram:client) >= 2.0
BuildRequires: mvn(com.ongres.scram:scram-client) >= 3.1
BuildArch: noarch
%description
@@ -42,15 +42,23 @@ This package contains the API Documentation for %{name}.
%prep
%setup -q -n postgresql-%{version}-jdbc-src
find -type f \( -name "*.jar" -or -name "*.class" \) -delete
# Build parent POMs in the same Maven call.
%pom_xpath_remove "pom:plugin[pom:artifactId = 'maven-shade-plugin']"
%pom_remove_plugin :maven-shade-plugin
# compat symlink: requested by dtardon (libreoffice)
%{mvn_file} org.postgresql:postgresql %{name}/postgresql %{name}
# For compat reasons, make Maven artifact available under older coordinates.
%{mvn_alias} org.postgresql:postgresql postgresql:postgresql
# For compat reasons, make Maven artifact available under older coordinates.
%{mvn_alias} org.postgresql:postgresql postgresql:postgresql
# remove unmet dependency
%pom_remove_dep uk.org.webcompere:system-stubs-jupiter
%build
%{mvn_build} -f -- -Dsource=8