forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita32c092
committed
Documentation improvements around domain types.
I was a bit surprised to find that domains were almost completelyunmentioned in the main SGML documentation, outside of the referencepages for CREATE/ALTER/DROP DOMAIN. In particular, noplace was itmentioned that we don't support domains over composite, making ithard to document the planned fix for that.Hence, add a section about domains to chapter 8 (Data Types).Also, modernize the type system overview in section 37.2; it had neverheard of range types, and insisted on calling arrays base types, whichseems a bit odd from a user's perspective; furthermore it didn't fit wellwith the fact that we now support arrays over types other than base types.It seems appropriate to use the term "container types" to describe all ofarrays, composites, and ranges, so let's do that.Also a few other minor improvements, notably improve an example queryin rowtypes.sgml by using a LATERAL function instead of an ad-hocOFFSET 0 clause.In part this is mop-up for commitc12d570, which missed updating 37.2to reflect the fact that it added arrays of domains. We could possiblyback-patch this without that claim, but I don't feel a strong need to.1 parent8df4ce1 commita32c092
File tree
4 files changed
+124
-34
lines changed- doc/src/sgml
- ref
4 files changed
+124
-34
lines changedLines changed: 54 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4359 | 4359 |
| |
4360 | 4360 |
| |
4361 | 4361 |
| |
| 4362 | + | |
| 4363 | + | |
| 4364 | + | |
| 4365 | + | |
| 4366 | + | |
| 4367 | + | |
| 4368 | + | |
| 4369 | + | |
| 4370 | + | |
| 4371 | + | |
| 4372 | + | |
| 4373 | + | |
| 4374 | + | |
| 4375 | + | |
| 4376 | + | |
| 4377 | + | |
| 4378 | + | |
| 4379 | + | |
| 4380 | + | |
| 4381 | + | |
| 4382 | + | |
| 4383 | + | |
| 4384 | + | |
| 4385 | + | |
| 4386 | + | |
| 4387 | + | |
| 4388 | + | |
| 4389 | + | |
| 4390 | + | |
| 4391 | + | |
| 4392 | + | |
| 4393 | + | |
| 4394 | + | |
| 4395 | + | |
| 4396 | + | |
| 4397 | + | |
| 4398 | + | |
| 4399 | + | |
| 4400 | + | |
| 4401 | + | |
| 4402 | + | |
| 4403 | + | |
| 4404 | + | |
| 4405 | + | |
| 4406 | + | |
| 4407 | + | |
| 4408 | + | |
| 4409 | + | |
| 4410 | + | |
| 4411 | + | |
| 4412 | + | |
| 4413 | + | |
| 4414 | + | |
| 4415 | + | |
4362 | 4416 |
| |
4363 | 4417 |
| |
4364 | 4418 |
| |
|
Lines changed: 55 additions & 24 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
109 | 118 |
| |
110 |
| - | |
111 |
| - | |
| 119 | + | |
| 120 | + | |
112 | 121 |
| |
113 | 122 |
| |
114 | 123 |
| |
115 | 124 |
| |
116 | 125 |
| |
117 | 126 |
| |
118 |
| - | |
| 127 | + | |
119 | 128 |
| |
120 | 129 |
| |
121 | 130 |
| |
122 | 131 |
| |
123 | 132 |
| |
124 | 133 |
| |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
129 | 143 |
| |
130 | 144 |
| |
131 | 145 |
| |
132 | 146 |
| |
133 |
| - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
134 | 163 |
| |
135 | 164 |
| |
136 | 165 |
| |
| |||
139 | 168 |
| |
140 | 169 |
| |
141 | 170 |
| |
142 |
| - | |
143 |
| - | |
144 |
| - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
145 | 180 |
| |
146 | 181 |
| |
147 | 182 |
| |
148 | 183 |
| |
149 | 184 |
| |
150 | 185 |
| |
151 | 186 |
| |
152 |
| - | |
153 |
| - | |
154 |
| - | |
155 |
| - | |
156 |
| - | |
157 |
| - | |
158 |
| - | |
159 |
| - | |
160 |
| - | |
161 |
| - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
162 | 193 |
| |
163 | 194 |
| |
164 | 195 |
| |
| |||
167 | 198 |
| |
168 | 199 |
| |
169 | 200 |
| |
170 |
| - | |
171 |
| - | |
| 201 | + | |
| 202 | + | |
172 | 203 |
| |
173 | 204 |
| |
174 | 205 |
| |
| |||
188 | 219 |
| |
189 | 220 |
| |
190 | 221 |
| |
191 |
| - | |
| 222 | + | |
192 | 223 |
| |
193 | 224 |
| |
194 | 225 |
| |
|
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
199 | 199 |
| |
200 | 200 |
| |
201 | 201 |
| |
202 |
| - | |
| 202 | + | |
203 | 203 |
| |
204 | 204 |
| |
205 | 205 |
| |
| |||
274 | 274 |
| |
275 | 275 |
| |
276 | 276 |
| |
277 |
| - | |
278 |
| - | |
279 |
| - | |
280 |
| - | |
281 |
| - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
282 | 282 |
| |
283 | 283 |
| |
284 | 284 |
| |
|
Lines changed: 9 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
328 | 328 |
| |
329 | 329 |
| |
330 | 330 |
| |
331 |
| - | |
| 331 | + | |
332 | 332 |
| |
333 |
| - | |
334 |
| - | |
335 |
| - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
336 | 341 |
| |
337 | 342 |
| |
338 | 343 |
| |
|
0 commit comments
Comments
(0)