Add cancel handlers so it's possible to Ctrl-C clusterdb, reindexdb
Magnus Hagander <magnus@hagander.net>
Add cancel handlers so it's possible to Ctrl-C clusterdb, reindexdb and vacuumdb. ITAGAKI Takahiro, with minor fixes from me.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/scripts/clusterdb.c | modified | +4 −10 |
| src/bin/scripts/common.c | modified | +169 −1 |
| src/bin/scripts/common.h | modified | +6 −1 |
| src/bin/scripts/reindexdb.c | modified | +5 −17 |
| src/bin/scripts/vacuumdb.c | modified | +4 −10 |