forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita90db34
committed
The attached patch (against HEAD) implements
COPY x (a,d,c,b) from stdin; COPY x (a,c) to stdout;as well as the corresponding changes to pg_dump to use the newfunctionality. This functionality is not available when usingthe BINARY option. If a column is not specified in the COPY FROMstatement, its default values will be used.In addition to this functionality, I tweaked a couple of theerror messages emitted by the new COPY <options> checks.Brent Verner1 parentfc5372e commita90db34
File tree
9 files changed
+267
-71
lines changed- doc/src/sgml/ref
- src
- backend
- commands
- parser
- rewrite
- bin/pg_dump
- include
- nodes
- rewrite
- test/regress
9 files changed
+267
-71
lines changedLines changed: 22 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
| 25 | + | |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
| 33 | + | |
32 | 34 |
| |
33 | 35 |
| |
34 | 36 |
| |
| |||
55 | 57 |
| |
56 | 58 |
| |
57 | 59 |
| |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
58 | 70 |
| |
59 | 71 |
| |
60 | 72 |
| |
| |||
187 | 199 |
| |
188 | 200 |
| |
189 | 201 |
| |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
190 | 210 |
| |
191 | 211 |
| |
192 | 212 |
| |
|
0 commit comments
Comments
(0)