forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit54baa48
committed
Copy collencoding in CREATE COLLATION / FROM
This command used to compute the collencoding entry like when acompletely new collation is created. But for example when copying the"C" collation, this would then result in a collation that has acollencoding entry for the current database encoding rather than -1,thus not making an exact copy. This has probably no practical impact,but making this change keeps the catalog contents neat.Reported-by: Tom Lane <tgl@sss.pgh.pa.us>1 parent08aed66 commit54baa48
1 file changed
+10
-6
lines changedLines changed: 10 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
67 |
| - | |
| 67 | + | |
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
| |||
126 | 126 |
| |
127 | 127 |
| |
128 | 128 |
| |
| 129 | + | |
129 | 130 |
| |
130 | 131 |
| |
131 | 132 |
| |
| |||
185 | 186 |
| |
186 | 187 |
| |
187 | 188 |
| |
188 |
| - | |
189 |
| - | |
190 |
| - | |
| 189 | + | |
191 | 190 |
| |
192 |
| - | |
193 |
| - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
194 | 198 |
| |
195 | 199 |
| |
196 | 200 |
| |
|
0 commit comments
Comments
(0)