- Notifications
You must be signed in to change notification settings - Fork28
Commit830c168
committed
Give a more user-friendly error message in situation where CREATE DATABASE
specifies a new default tablespace and the template database already hassome tables in that tablespace. There isn't any way to solve this fullywithout modifying the clone database's pg_class contents, so for now thebest we can do is issue a better error message.1 parentfae7ce8 commit830c168
File tree
3 files changed
+43
-12
lines changed- src
- backend/commands
- include/commands
3 files changed
+43
-12
lines changedLines changed: 36 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
281 | 281 |
| |
282 | 282 |
| |
283 | 283 |
| |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
284 | 315 |
| |
285 | 316 |
| |
286 | 317 |
| |
| |||
311 | 342 |
| |
312 | 343 |
| |
313 | 344 |
| |
314 |
| - | |
315 |
| - | |
316 |
| - | |
317 |
| - | |
318 |
| - | |
319 | 345 |
| |
320 | 346 |
| |
321 | 347 |
| |
| |||
333 | 359 |
| |
334 | 360 |
| |
335 | 361 |
| |
336 |
| - | |
| 362 | + | |
| 363 | + | |
337 | 364 |
| |
338 | 365 |
| |
339 | 366 |
| |
| |||
352 | 379 |
| |
353 | 380 |
| |
354 | 381 |
| |
355 |
| - | |
| 382 | + | |
| 383 | + | |
356 | 384 |
| |
357 | 385 |
| |
358 | 386 |
| |
|
Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
| 48 | + | |
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
| |||
75 | 75 |
| |
76 | 76 |
| |
77 | 77 |
| |
78 |
| - | |
79 | 78 |
| |
80 | 79 |
| |
81 | 80 |
| |
| |||
680 | 679 |
| |
681 | 680 |
| |
682 | 681 |
| |
| 682 | + | |
| 683 | + | |
683 | 684 |
| |
684 |
| - | |
| 685 | + | |
685 | 686 |
| |
686 | 687 |
| |
687 | 688 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
| 45 | + | |
| 46 | + | |
45 | 47 |
| |
46 | 48 |
| |
47 | 49 |
| |
|
0 commit comments
Comments
(0)