forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbc8036f
committed
Support arrays of composite types, including the rowtypes of regular tables
and views (but not system catalogs, nor sequences or toast tables). Get ridof the hardwired convention that a type's array type is named exactly "_type",instead using a new column pg_type.typarray to provide the linkage. (It stillwill be named "_type", though, except in odd corner cases such asmaximum-length type names.)Along the way, make tracking of owner and schema dependencies for types moreuniform: a type directly created by the user has these dependencies, while atable rowtype or auto-generated array type does not have them, but depends onits parent object instead.David Fetter, Andrew Dunstan, Tom Lane1 parentb1110aa commitbc8036f
File tree
25 files changed
+697
-406
lines changed- doc/src/sgml
- ref
- src
- backend
- catalog
- commands
- parser
- utils/cache
- bin/pg_dump
- include
- catalog
- commands
- test/regress
- expected
- sql
- tools/findoidjoins
25 files changed
+697
-406
lines changedLines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 |
| - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
15 | 16 |
| |
16 | 17 |
| |
17 | 18 |
| |
|
Lines changed: 16 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
4524 | 4524 |
| |
4525 | 4525 |
| |
4526 | 4526 |
| |
| 4527 | + | |
| 4528 | + | |
| 4529 | + | |
| 4530 | + | |
| 4531 | + | |
| 4532 | + | |
| 4533 | + | |
| 4534 | + | |
| 4535 | + | |
| 4536 | + | |
| 4537 | + | |
4527 | 4538 |
| |
4528 | 4539 |
| |
4529 | 4540 |
| |
| |||
4686 | 4697 |
| |
4687 | 4698 |
| |
4688 | 4699 |
| |
4689 |
| - | |
4690 |
| - | |
4691 |
| - | |
| 4700 | + | |
| 4701 | + | |
| 4702 | + | |
| 4703 | + | |
4692 | 4704 |
| |
4693 | 4705 |
| |
4694 | 4706 |
| |
|
Lines changed: 21 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
312 | 312 |
| |
313 | 313 |
| |
314 | 314 |
| |
315 |
| - | |
| 315 | + | |
316 | 316 |
| |
317 | 317 |
| |
318 |
| - | |
319 |
| - | |
320 |
| - | |
321 |
| - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
322 | 323 |
| |
323 |
| - | |
| 324 | + | |
| 325 | + | |
324 | 326 |
| |
325 | 327 |
| |
326 | 328 |
| |
| |||
330 | 332 |
| |
331 | 333 |
| |
332 | 334 |
| |
333 |
| - | |
334 |
| - | |
335 |
| - | |
336 |
| - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
337 | 338 |
| |
338 | 339 |
| |
339 | 340 |
| |
| |||
529 | 530 |
| |
530 | 531 |
| |
531 | 532 |
| |
532 |
| - | |
533 |
| - | |
534 |
| - | |
535 |
| - | |
536 |
| - | |
537 |
| - | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
538 | 542 |
| |
539 | 543 |
| |
540 | 544 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
131 | 131 |
| |
132 | 132 |
| |
133 | 133 |
| |
134 |
| - | |
| 134 | + | |
135 | 135 |
| |
136 | 136 |
| |
137 |
| - | |
| 137 | + | |
138 | 138 |
| |
139 | 139 |
| |
140 | 140 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
86 | 86 |
| |
87 | 87 |
| |
88 | 88 |
| |
89 |
| - | |
90 |
| - | |
91 |
| - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
92 | 92 |
| |
93 | 93 |
| |
94 | 94 |
| |
|
0 commit comments
Comments
(0)