| 2021 | ) |
| 2022 | |
| 2023 | def initialize(self, connection): |
| 2024 | super().initialize(connection) |
| 2025 | |
| 2026 | # Oracle 8i has RETURNING: |
| 2027 | # https://docs.oracle.com/cd/A87860_01/doc/index.htm |
| 2028 | |
| 2029 | # so does Oracle8: |
| 2030 | # https://docs.oracle.com/cd/A64702_01/doc/index.htm |
| 2031 | |
| 2032 | if self._is_oracle_8: |
| 2033 | self.colspecs = self.colspecs.copy() |
| 2034 | self.colspecs.pop(sqltypes.Interval) |
| 2035 | self.use_ansi = False |
| 2036 | |
| 2037 | self.supports_identity_columns = self.server_version_info >= (12,) |
| 2038 | self._supports_offset_fetch = ( |
| 2039 | self.enable_offset_fetch and self.server_version_info >= (12,) |
| 2040 | ) |
| 2041 | |
| 2042 | def _get_effective_compat_server_version_info(self, connection): |
| 2043 | # dialect does not need compat levels below 12.2, so don't query |