Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Database Related
>
DB Development Package
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
41
Star
102
Fork
131
openGauss
/
openGauss-connector-jdbc
Code
Issues
56
Pull Requests
4
Wiki
Insights
Pipelines
Service
JavaDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
需要修复一下绑定变量上限个数的问题(合入pgjdbc的fix)
Accepted
#I7WXRI
Bug
DarkAthena
Opened this issue
2023-08-29 18:51
<!-- #请认真填写以下信息,否则可能由于无法定位,导致issue无法解决而被取消 --> 【标题描述】: 【测试类型:工具功能】【测试版本:5.0.0】 需要修复一下绑定变量上限个数的问题(合入pgjdbc的fix) 【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a): 【测试环境】(单机/1主x备x级联备): 【被测功能】: 【测试类型】: 【数据库版本】(查询命令: gaussdb -V): 【预置条件】: 【操作步骤】(请填写详细的操作步骤): 参考此issue https://github.com/pgjdbc/pgjdbc/issues/1311 【预期输出】: 最多支持65535个绑定变量 【实际输出】: 超过32767个绑定变量时会报错 【原因分析】: 内核绑定变量个数为INT2类型,其中的整数应该有65535个,但JDBC把整数范围定成了负整数和正整数一共65535个,导致实际JDBC最多只能绑定32767个变量 可以参考pgjdbc的这个PR https://github.com/pgjdbc/pgjdbc/pull/2525/files 【日志信息】: 
<!-- #请认真填写以下信息,否则可能由于无法定位,导致issue无法解决而被取消 --> 【标题描述】: 【测试类型:工具功能】【测试版本:5.0.0】 需要修复一下绑定变量上限个数的问题(合入pgjdbc的fix) 【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a): 【测试环境】(单机/1主x备x级联备): 【被测功能】: 【测试类型】: 【数据库版本】(查询命令: gaussdb -V): 【预置条件】: 【操作步骤】(请填写详细的操作步骤): 参考此issue https://github.com/pgjdbc/pgjdbc/issues/1311 【预期输出】: 最多支持65535个绑定变量 【实际输出】: 超过32767个绑定变量时会报错 【原因分析】: 内核绑定变量个数为INT2类型,其中的整数应该有65535个,但JDBC把整数范围定成了负整数和正整数一共65535个,导致实际JDBC最多只能绑定32767个变量 可以参考pgjdbc的这个PR https://github.com/pgjdbc/pgjdbc/pull/2525/files 【日志信息】: 
Comments (
3
)
Sign in
to comment
Status
Accepted
Backlog
Confirmed
已答复
Canceled
挂起
Fixing
Done
待回归
测试中
Accepted
Assignees
Not set
travelliu
travelliu
Assignee
Collaborator
+Assign
+Mention
Labels
sig/connectors
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (12)
Tags (20)
master
6.0.0
5.0.0
7.0.0-RC1
3.0.0
5.1.0
2.0.0
3.1.0
2.1.0
1.1.0
1.0.1
1.0.0
v6.0.1
v6.0.0
v5.0.3
v5.0.2
v6.0.0-RC1
v5.0.1-RC1
v5.0.1
v5.1.0
v3.0.5
v5.0.0
v3.0.3
v3.1.1
v3.1.0
v3.0.1
v3.0.0
v2.1.0
v2.0.0
1.1.0
1.0.1
1.0.0
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(1)
Java
1
https://gitee.com/opengauss/openGauss-connector-jdbc.git
git@gitee.com:opengauss/openGauss-connector-jdbc.git
opengauss
openGauss-connector-jdbc
openGauss-connector-jdbc
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register