forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit154146d
committed
Rename lo_create(oid, bytea) to lo_from_bytea().
The previous naming broke the query that libpq's lo_initialize() usesto collect the OIDs of the server-side functions it requires, becausethat query effectively assumes that there is only one function namedlo_create in the pg_catalog schema (and likewise only one lo_open, etc).While we should certainly make libpq more robust about this, the naivequery will remain in use in the field for the foreseeable future, so itseems the only workable choice is to use a different name for the newfunction. lo_from_bytea() won a small straw poll.Back-patch into 9.4 where the new function was introduced.1 parent7937910 commit154146d
File tree
8 files changed
+12
-12
lines changed- doc/src/sgml
- src
- backend/libpq
- include
- catalog
- libpq
- test/regress
- input
- output
8 files changed
+12
-12
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
547 | 547 |
| |
548 | 548 |
| |
549 | 549 |
| |
550 |
| - | |
| 550 | + | |
551 | 551 |
| |
552 |
| - | |
| 552 | + | |
553 | 553 |
| |
554 | 554 |
| |
555 | 555 |
| |
556 | 556 |
| |
557 | 557 |
| |
558 | 558 |
| |
559 |
| - | |
| 559 | + | |
560 | 560 |
| |
561 | 561 |
| |
562 | 562 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
862 | 862 |
| |
863 | 863 |
| |
864 | 864 |
| |
865 |
| - | |
| 865 | + | |
866 | 866 |
| |
867 | 867 |
| |
868 |
| - | |
| 868 | + | |
869 | 869 |
| |
870 | 870 |
| |
871 | 871 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1061 | 1061 |
| |
1062 | 1062 |
| |
1063 | 1063 |
| |
1064 |
| - | |
1065 |
| - | |
| 1064 | + | |
| 1065 | + | |
1066 | 1066 |
| |
1067 | 1067 |
| |
1068 | 1068 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
207 | 207 |
| |
208 | 208 |
| |
209 | 209 |
| |
210 |
| - | |
| 210 | + | |
211 | 211 |
| |
212 | 212 |
| |
213 | 213 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
393 | 393 |
| |
394 | 394 |
| |
395 | 395 |
| |
396 |
| - | |
| 396 | + | |
397 | 397 |
| |
398 | 398 |
| |
399 | 399 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
393 | 393 |
| |
394 | 394 |
| |
395 | 395 |
| |
396 |
| - | |
| 396 | + | |
397 | 397 |
| |
398 | 398 |
| |
399 | 399 |
| |
|
0 commit comments
Comments
(0)