forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdf10ac6
committed
Don't use elog() in src/port/pwrite.c.
Nothing broke because of this oversight yet, but it would fail to linkif we tried to use pg_pwrite() in frontend code on a system that lackspwrite(). Use an assertion instead. Also pgindent while here.Discussion:https://postgr.es/m/CA%2BhUKGL57RvoQsS35TVPnQoPYqbtBixsdRhynB8NpcUKpHTTtg%40mail.gmail.com1 parentee1b38f commitdf10ac6
1 file changed
+6
-6
lines changedLines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
73 |
| - | |
74 |
| - | |
| 73 | + | |
| 74 | + | |
75 | 75 |
| |
76 | 76 |
| |
77 | 77 |
| |
| |||
137 | 137 |
| |
138 | 138 |
| |
139 | 139 |
| |
140 |
| - | |
141 |
| - | |
| 140 | + | |
| 141 | + | |
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
146 |
| - | |
147 |
| - | |
| 146 | + | |
| 147 | + | |
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
|
0 commit comments
Comments
(0)