Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
libpostgresql-jdbc-java
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Java Maintainers
libpostgresql-jdbc-java
Commits
8417910b
Commit
8417910b
authored
1 month ago
by
Christoph Berg
Browse files
Options
Downloads
Patches
Plain Diff
New upstream version 42.7.6.
parent
3e381e20
No related branches found
No related tags found
No related merge requests found
Pipeline
#873454
passed
1 month ago
Stage: provisioning
Stage: build
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+6
-0
6 additions, 0 deletions
debian/changelog
debian/patches/series
+0
-1
0 additions, 1 deletion
debian/patches/series
debian/patches/tostring
+0
-30
0 additions, 30 deletions
debian/patches/tostring
with
6 additions
and
31 deletions
debian/changelog
+
6
−
0
View file @
8417910b
libpgjava (42.7.6-1) experimental; urgency=medium
* New upstream version 42.7.6.
-- Christoph Berg <myon@debian.org> Mon, 02 Jun 2025 17:05:52 +0200
libpgjava (42.7.5-2) unstable; urgency=medium
* Fix org.postgresql.util.PSQLException: Unable to convert bytea parameter
...
...
This diff is collapsed.
Click to expand it.
debian/patches/series
+
0
−
1
View file @
8417910b
02-scram-optional.patch
tostring
This diff is collapsed.
Click to expand it.
debian/patches/tostring
deleted
100644 → 0
+
0
−
30
View file @
3e381e20
Fix org.postgresql.util.PSQLException: Unable to convert bytea parameter at position 1 to literal
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098830
https://github.com/pgjdbc/pgjdbc/issues/3365
--- a/src/main/java/org/postgresql/core/v3/SimpleParameterList.java
+++ b/src/main/java/org/postgresql/core/v3/SimpleParameterList.java
@@ -250,21 +250,7 @@
class SimpleParameterList implements V3P
String textValue;
String type;
if (paramTypes[index] == Oid.BYTEA) {
- try {
- return PGbytea.toPGLiteral(paramValue);
- } catch (Throwable e) {
- Throwable cause = e;
- if (!(cause instanceof IOException)) {
- // This is for compatibilty with the similar handling in QueryExecutorImpl
- cause = new IOException("Error writing bytes to stream", e);
- }
- throw sneakyThrow(
- new PSQLException(
- GT.tr("Unable to convert bytea parameter at position {0} to literal",
- index),
- PSQLState.INVALID_PARAMETER_VALUE,
- cause));
- }
+ return "?";
}
if ((flags[index] & BINARY) == BINARY) {
// handle some of the numeric types
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment