- Notifications
You must be signed in to change notification settings - Fork5
Commitf192e4a
committed
Cause pg_proc.probin to be declared as text, not bytea. Everything was
already treating it as text anyway, to the point that I couldn't find anythingto change except the datatype markings in catalog/*.h. The only effect thatthe bytea declaration had was to cause byteaout() to be invoked when pg_dump(or another client program) inspected the column value. Since pg_dump wasn'texpecting that, but just treating what it got as text, the net result is thatdump and reload would mangle any backslashes or non-ASCII characters in thefilename string for a C-language function. That is a very long-standing bug,but given the lack of field complaints it doesn't seem worth trying to finda back-patchable fix. We'll just make this change to fix it going forward.This change will also forestall problems after the planned change to let byteaemit hex output instead of escaped characters.1 parentbe6bca2 commitf192e4a
File tree
4 files changed
+9
-9
lines changed- doc/src/sgml
- src/include/catalog
4 files changed
+9
-9
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
3841 | 3841 |
| |
3842 | 3842 |
| |
3843 | 3843 |
| |
3844 |
| - | |
| 3844 | + | |
3845 | 3845 |
| |
3846 | 3846 |
| |
3847 | 3847 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
Lines changed: 3 additions & 3 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 |
| |
| |||
312 | 312 |
| |
313 | 313 |
| |
314 | 314 |
| |
315 |
| - | |
| 315 | + | |
316 | 316 |
| |
317 | 317 |
| |
318 | 318 |
| |
| |||
338 | 338 |
| |
339 | 339 |
| |
340 | 340 |
| |
341 |
| - | |
| 341 | + | |
342 | 342 |
| |
343 | 343 |
| |
344 | 344 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
| 62 | + | |
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
|
0 commit comments
Comments
(0)