forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7294396
committed
Add progress reporting of skipped tuples during COPY FROM.
9e2d870 enabled the COPY command to skip malformed data, howeverthere was no visibility into how many tuples were actually skippedduring the COPY FROM.This commit adds a new "tuples_skipped" column topg_stat_progress_copy view to report the number of tuples that wereskipped because they contain malformed data.Bump catalog version.Author: Atsushi TorikoshiReviewed-by: Masahiko SawadaDiscussion:https://postgr.es/m/d12fd8c99adcae2744212cb23feff6ed%40oss.nttdata.com1 parentd282e88 commit7294396
File tree
6 files changed
+23
-3
lines changed- doc/src/sgml
- src
- backend
- catalog
- commands
- include
- catalog
- commands
- test/regress/expected
6 files changed
+23
-3
lines changedLines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5780 | 5780 |
| |
5781 | 5781 |
| |
5782 | 5782 |
| |
| 5783 | + | |
| 5784 | + | |
| 5785 | + | |
| 5786 | + | |
| 5787 | + | |
| 5788 | + | |
| 5789 | + | |
| 5790 | + | |
| 5791 | + | |
| 5792 | + | |
| 5793 | + | |
| 5794 | + | |
5783 | 5795 |
| |
5784 | 5796 |
| |
5785 | 5797 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1318 | 1318 |
| |
1319 | 1319 |
| |
1320 | 1320 |
| |
1321 |
| - | |
| 1321 | + | |
| 1322 | + | |
1322 | 1323 |
| |
1323 | 1324 |
| |
1324 | 1325 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
650 | 650 |
| |
651 | 651 |
| |
652 | 652 |
| |
| 653 | + | |
653 | 654 |
| |
654 | 655 |
| |
655 | 656 |
| |
| |||
1012 | 1013 |
| |
1013 | 1014 |
| |
1014 | 1015 |
| |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
1015 | 1020 |
| |
1016 | 1021 |
| |
1017 | 1022 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
| 60 | + | |
61 | 61 |
| |
62 | 62 |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
| 145 | + | |
145 | 146 |
| |
146 | 147 |
| |
147 | 148 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1988 | 1988 |
| |
1989 | 1989 |
| |
1990 | 1990 |
| |
1991 |
| - | |
| 1991 | + | |
| 1992 | + | |
1992 | 1993 |
| |
1993 | 1994 |
| |
1994 | 1995 |
| |
|
0 commit comments
Comments
(0)