Commit 22113f8
committed
This is a patch to pg_dump which fixes varchar and char printing in the
case where the attribute length is variable (stored as -1). Previously,
you'd get output that looked like:
CREATE TABLE foo (bar varchar(-1));
Monitor and psql don't like this at all :). Here is a fix:
Submitted by: Adam Sussman <myddryn@vidya.com>1 parent c13ef1a commit 22113f8
1 file changed
+21
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
1210 | 1214 | | |
1211 | 1215 | | |
1212 | 1216 | | |
1213 | | - | |
| 1217 | + | |
1214 | 1218 | | |
1215 | 1219 | | |
1216 | | - | |
1217 | | - | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
1218 | 1227 | | |
1219 | 1228 | | |
1220 | 1229 | | |
1221 | | - | |
| 1230 | + | |
1222 | 1231 | | |
1223 | 1232 | | |
1224 | 1233 | | |
1225 | | - | |
1226 | | - | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
1227 | 1241 | | |
1228 | 1242 | | |
1229 | 1243 | | |
| |||
0 commit comments