forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit324435e
committed
Prevent compilation of frontend-only files in src/common/ with backend
Any frontend-only file of src/common/ should include a protection toprevent such code to be included in the backend compilation.fe_memutils.c and restricted_token.c have been doing that, whilefile_utils.c (sincebf5bb2e) and logging.c (sincefc9a62a) forgot it.Reviewed-by: Daniel GustafssonDiscussion:https://postgr.es/m/20200625080757.GI130132@paquier.xyz1 parentee0202d commit324435e
2 files changed
+10
-0
lines changedLines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
15 | 20 |
| |
16 | 21 |
| |
17 | 22 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
10 | 15 |
| |
11 | 16 |
| |
12 | 17 |
| |
|
0 commit comments
Comments
(0)