forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit16adaf1
committed
Swap the order of testing for control characters and for column delimiter in
CopyAttributeOutText(), so that control characters are converted to theC-style escape sequences even if they happen to be equal to the columndelimiter (as is true by default for tab, for example). Oversight in myprevious patch to restore pre-8.3 behavior of COPY OUT escaping. Per reportfrom Tomas Szepe.1 parentf5f1355 commit16adaf1
1 file changed
+21
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
3094 | 3094 | | |
3095 | 3095 | | |
3096 | 3096 | | |
3097 | | - | |
3098 | | - | |
3099 | | - | |
3100 | | - | |
3101 | | - | |
3102 | | - | |
3103 | | - | |
| 3097 | + | |
3104 | 3098 | | |
3105 | 3099 | | |
3106 | 3100 | | |
| |||
3130 | 3124 | | |
3131 | 3125 | | |
3132 | 3126 | | |
| 3127 | + | |
| 3128 | + | |
| 3129 | + | |
3133 | 3130 | | |
3134 | 3131 | | |
3135 | 3132 | | |
| |||
3140 | 3137 | | |
3141 | 3138 | | |
3142 | 3139 | | |
| 3140 | + | |
| 3141 | + | |
| 3142 | + | |
| 3143 | + | |
| 3144 | + | |
| 3145 | + | |
3143 | 3146 | | |
3144 | 3147 | | |
3145 | 3148 | | |
| |||
3151 | 3154 | | |
3152 | 3155 | | |
3153 | 3156 | | |
3154 | | - | |
3155 | | - | |
3156 | | - | |
3157 | | - | |
3158 | | - | |
3159 | | - | |
3160 | | - | |
| 3157 | + | |
3161 | 3158 | | |
3162 | 3159 | | |
3163 | 3160 | | |
| |||
3187 | 3184 | | |
3188 | 3185 | | |
3189 | 3186 | | |
| 3187 | + | |
| 3188 | + | |
| 3189 | + | |
3190 | 3190 | | |
3191 | 3191 | | |
3192 | 3192 | | |
| |||
3197 | 3197 | | |
3198 | 3198 | | |
3199 | 3199 | | |
| 3200 | + | |
| 3201 | + | |
| 3202 | + | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
3200 | 3206 | | |
3201 | 3207 | | |
3202 | 3208 | | |
| |||
0 commit comments
Comments
(0)