forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit80f46fa
committed
This patch adds a missing heap_freetuple() to renamerel(), documents
the decision not to make renamerel() update the sequence name thatis stored within sequences themselves (thanks to Tom Lane), and addssome rudimentary regression tests for ALTER TABLE ... RENAME onnon-table relations.Neil Conway1 parent00f4a7d commit80f46fa
File tree
3 files changed
+53
-1
lines changed- src
- backend/commands
- test/regress
- expected
- sql
3 files changed
+53
-1
lines changedLines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
248 | 248 |
| |
249 | 249 |
| |
250 | 250 |
| |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
251 | 257 |
| |
252 | 258 |
| |
253 | 259 |
| |
| |||
312 | 318 |
| |
313 | 319 |
| |
314 | 320 |
| |
| 321 | + | |
315 | 322 |
| |
316 | 323 |
| |
317 | 324 |
| |
|
Lines changed: 29 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
267 | 267 |
| |
268 | 268 |
| |
269 | 269 |
| |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
270 | 299 |
| |
271 | 300 |
| |
272 | 301 |
| |
|
Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
163 | 163 |
| |
164 | 164 |
| |
165 | 165 |
| |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
166 | 182 |
| |
167 | 183 |
| |
168 | 184 |
| |
|
0 commit comments
Comments
(0)