forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit93b99d3
committed
Register atexit hook only once in pg_upgrade.
start_postmaster() registered stop_postmaster_atexit as an atexit(3)callback each time through, although the obvious intention was to doso only once per program run. The extra registrations were harmless,so long as we didn't exceed ATEXIT_MAX, but still it's a bug.Artur Zakirov, with bikeshedding by Kyotaro Horiguchi and meDiscussion: <d279e817-02b5-caa6-215f-cfb05dce109a@postgrespro.ru>1 parent6b8a89e commit93b99d3
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
174 | 174 |
| |
175 | 175 |
| |
176 | 176 |
| |
177 |
| - | |
178 | 177 |
| |
179 | 178 |
| |
180 | 179 |
| |
| 180 | + | |
| 181 | + | |
181 | 182 |
| |
182 | 183 |
| |
183 | 184 |
| |
|
0 commit comments
Comments
(0)