python - 如何在批量插入期间在 PostgresSQL 中获取带有错误消息的行?
问题描述
如何在 Oracle executemany Batcherror 中获取 PostgresSQL 数据库中出现错误的行:cursor.executemany( sql_insert_query, data, batcherrors = True)
?
(使用 Python)
解决方案
推荐阅读
- amazon-web-services - Cloudformation 模板 - 我如何获取计算属性的值
- c# - NodeInvocationException:JSON 输入意外结束
- javascript - 用cheerio解析节点JS上的代码
- azure - 代表 Azure 中的令牌应使用哪种授权类型?
- javascript - 从 dist 文件夹打开 index.html 时不显示图像
- r - 在 r 中使用 API
- tensorflow - 在研究论文中难以理解图像中的补丁数量
- c - 关于 printf 中的字符串
- sql - 基于两列返回整理结果的 SQL 查询
- jquery - 一个有两个间隔的 setTimeout 循环