Repository navigation
Commit d025f95
committed
Fix two CI-only failures in the get_ctypes regression tests.
The ICU scenario ran unconditionally, but LOCALE_PROVIDER/ICU_LOCALE on
CREATE DATABASE was only added in PostgreSQL 15, so it failed with
"option \"locale_provider\" not recognized" against PG14 in CI.
The builtin scenario probes with a fixed BUILTIN_LOCALE 'C.UTF-8', and
skipped only when template0's own datcollate was exactly 'C' or 'POSIX'.
Several CI runners have template0 already on 'C.UTF-8', which is the
only UTF-8 locale a builtin database can use, so the created database's
locale collided with the template's inherited one and
assertNotIn(self.template_collate, reported) failed spuriously. Skip
that scenario too when template0 is already 'C.UTF-8'.1 parent 0b3a7f1 commit d025f95
1 file changed
Lines changed: 8 additions & 0 deletions
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
119 | 124 | | |
120 | 125 | | |
121 | 126 | | |
| |||
128 | 133 | | |
129 | 134 | | |
130 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
131 | 139 | | |
132 | 140 | | |
133 | 141 | | |
| |||
0 commit comments