- Notifications
You must be signed in to change notification settings - Fork5.2k
Commit37851a8
committed
Database-level collation version tracking
This adds to database objects the same version tracking that collationobjects have. There is a new pg_database column datcollversion thatstores the version, a new functionpg_database_collation_actual_version() to get the version from theoperating system, and a new subcommand ALTER DATABASE ... REFRESHCOLLATION VERSION.This was not originally added together with pg_collation.collversion,since originally version tracking was only supported for ICU, and ICUon a database-level is not currently supported. But we now haveversion tracking for glibc (since PG13), FreeBSD (since PG14), andWindows (since PG13), so this is useful to have now.Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>Discussion:https://www.postgresql.org/message-id/flat/f0ff3190-29a3-5b39-a179-fa32eee57db6%40enterprisedb.com1 parent9898c5e commit37851a8
File tree
22 files changed
+367
-15
lines changed- doc/src/sgml
- ref
- src
- backend
- commands
- parser
- tcop
- utils/init
- bin
- initdb
- pg_dump
- psql
- include
- catalog
- commands
- nodes
- test/regress
- expected
- sql
22 files changed
+367
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3043 | 3043 | | |
3044 | 3044 | | |
3045 | 3045 | | |
| 3046 | + | |
| 3047 | + | |
| 3048 | + | |
| 3049 | + | |
| 3050 | + | |
| 3051 | + | |
| 3052 | + | |
| 3053 | + | |
| 3054 | + | |
| 3055 | + | |
| 3056 | + | |
3046 | 3057 | | |
3047 | 3058 | | |
3048 | 3059 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27061 | 27061 | | |
27062 | 27062 | | |
27063 | 27063 | | |
| 27064 | + | |
| 27065 | + | |
| 27066 | + | |
| 27067 | + | |
| 27068 | + | |
| 27069 | + | |
| 27070 | + | |
| 27071 | + | |
| 27072 | + | |
| 27073 | + | |
| 27074 | + | |
| 27075 | + | |
| 27076 | + | |
| 27077 | + | |
| 27078 | + | |
| 27079 | + | |
| 27080 | + | |
| 27081 | + | |
27064 | 27082 | | |
27065 | 27083 | | |
27066 | 27084 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
171 | 173 | | |
172 | 174 | | |
173 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
174 | 186 | | |
175 | 187 | | |
176 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
161 | 182 | | |
162 | 183 | | |
163 | 184 | | |
| |||
0 commit comments
Comments
(0)