forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita63b63f
committed
Revert COPY OUT to follow the pre-8.3 handling of ASCII control characters,
namely that \r, \n, \t, \b, \f, \v are dumped as those two-characterrepresentations rather than a backslash and the literal control character.I had made it do the other to save some code, but this was ill-advised,because dump files in which these characters appear literally are prone tonewline mangling. Fortunately, doing it the old way should only cost a fewmore lines of code, and not slow down the copy loop materially.Per bug #3795 from Lou Duchez.1 parent3b3251c commita63b63f
1 file changed
+49
-17
lines changedLines changed: 49 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
3102 | 3102 |
| |
3103 | 3103 |
| |
3104 | 3104 |
| |
| 3105 | + | |
| 3106 | + | |
| 3107 | + | |
| 3108 | + | |
| 3109 | + | |
| 3110 | + | |
| 3111 | + | |
3105 | 3112 |
| |
3106 | 3113 |
| |
3107 |
| - | |
3108 |
| - | |
3109 |
| - | |
3110 |
| - | |
3111 | 3114 |
| |
| 3115 | + | |
| 3116 | + | |
3112 | 3117 |
| |
| 3118 | + | |
| 3119 | + | |
3113 | 3120 |
| |
| 3121 | + | |
| 3122 | + | |
3114 | 3123 |
| |
| 3124 | + | |
| 3125 | + | |
3115 | 3126 |
| |
| 3127 | + | |
| 3128 | + | |
3116 | 3129 |
| |
3117 |
| - | |
3118 |
| - | |
3119 |
| - | |
| 3130 | + | |
3120 | 3131 |
| |
3121 | 3132 |
| |
3122 | 3133 |
| |
3123 | 3134 |
| |
3124 |
| - | |
| 3135 | + | |
3125 | 3136 |
| |
| 3137 | + | |
| 3138 | + | |
| 3139 | + | |
| 3140 | + | |
| 3141 | + | |
3126 | 3142 |
| |
3127 | 3143 |
| |
3128 | 3144 |
| |
| |||
3143 | 3159 |
| |
3144 | 3160 |
| |
3145 | 3161 |
| |
| 3162 | + | |
| 3163 | + | |
| 3164 | + | |
| 3165 | + | |
| 3166 | + | |
| 3167 | + | |
| 3168 | + | |
3146 | 3169 |
| |
3147 | 3170 |
| |
3148 |
| - | |
3149 |
| - | |
3150 |
| - | |
3151 |
| - | |
3152 | 3171 |
| |
| 3172 | + | |
| 3173 | + | |
3153 | 3174 |
| |
| 3175 | + | |
| 3176 | + | |
3154 | 3177 |
| |
| 3178 | + | |
| 3179 | + | |
3155 | 3180 |
| |
| 3181 | + | |
| 3182 | + | |
3156 | 3183 |
| |
| 3184 | + | |
| 3185 | + | |
3157 | 3186 |
| |
3158 |
| - | |
3159 |
| - | |
3160 |
| - | |
| 3187 | + | |
3161 | 3188 |
| |
3162 | 3189 |
| |
3163 | 3190 |
| |
3164 | 3191 |
| |
3165 |
| - | |
| 3192 | + | |
3166 | 3193 |
| |
| 3194 | + | |
| 3195 | + | |
| 3196 | + | |
| 3197 | + | |
| 3198 | + | |
3167 | 3199 |
| |
3168 | 3200 |
| |
3169 | 3201 |
| |
|
0 commit comments
Comments
(0)