forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6b1c5ca
committed
Remove logging.c from the shared library of src/common/
As fe0a1dc has proved, it is not a good concept to add to libpqdependencies that would enforce the error output to a central loggingfacility because it breaks the promise of reporting the error back toan application in a consistent way, with the application to potentiallyexit() suddenly if using pieces from for example jsonapi.c. prairiedoghas allowed to report an actual design problem with fe0a1dc, but it willnot be around forever, so removing logging.c from libpgcommon_shlib is asimple and much better long-term way to prevent any attempt to load thecentral logging in libraries with general purposes.Author: Michael PaquierReviewed-by: Tom LaneDiscussion:https://postgr.es/m/20200928073330.GC2316@paquier.xyz1 parent7b28913 commit6b1c5ca
1 file changed
+9
-4
lines changedLines changed: 9 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
91 |
| - | |
92 |
| - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 |
| |
94 | 97 |
| |
95 |
| - | |
96 | 98 |
| |
97 | 99 |
| |
| 100 | + | |
| 101 | + | |
| 102 | + | |
98 | 103 |
| |
99 | 104 |
| |
100 |
| - | |
| 105 | + | |
101 | 106 |
| |
102 | 107 |
| |
103 | 108 |
| |
|
0 commit comments
Comments
(0)