Commit da47b0a
authored
fix: recognize ABORT statements for PostgreSQL (#2479)
PostgreSQL supports the `ABORT [ WORK | TRANSACTION ] [ AND [ NO ] CHAIN ]` statement in addition to the more common ROLLBACK. See https://www.postgresql.org/docs/current/sql-abort.html1 parent 7c5b606 commit da47b0a
File tree
6 files changed
+246
-2023
lines changed- google-cloud-spanner/src
- main/resources/com/google/cloud/spanner/connection
- test
- java/com/google/cloud/spanner/connection
- resources/com/google/cloud/spanner/connection
- postgresql
6 files changed
+246
-2023
lines changedLines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
| 227 | + | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
234 | 237 | | |
235 | 238 | | |
236 | 239 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
81 | 97 | | |
82 | 98 | | |
83 | 99 | | |
| |||
0 commit comments