Commit 3ead609
committed
fix: improve OpenGauss detection to correctly disable UNLISTEN
The previous detection logic was insufficient for standard OpenGauss environments (e.g., A-compatibility or default modes) as it relied on keys like 'sql_mode' which may not exist.
Changes:
1. Updated `_detect_server_capabilities` to identify GaussDB/OpenGauss using the core parameter `session_respool`.1 parent 9df3367 commit 3ead609
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2647 | 2647 | | |
2648 | 2648 | | |
2649 | 2649 | | |
| 2650 | + | |
| 2651 | + | |
2650 | 2652 | | |
2651 | 2653 | | |
2652 | 2654 | | |
| |||
2674 | 2676 | | |
2675 | 2677 | | |
2676 | 2678 | | |
2677 | | - | |
| 2679 | + | |
2678 | 2680 | | |
2679 | 2681 | | |
2680 | 2682 | | |
| |||
0 commit comments