pg_basebackup_segv_bugfix_v1.patch
application/octet-stream
Filename: pg_basebackup_segv_bugfix_v1.patch
Type: application/octet-stream
Part: 0
Message:
segmentation fault in pg_basebackup
Patch
Format: context
Series: patch v1
| File | + | − |
|---|---|---|
| src/bin/pg_basebackup/pg_basebackup.c | 1 | 0 |
*** a/src/bin/pg_basebackup/pg_basebackup.c --- b/src/bin/pg_basebackup/pg_basebackup.c *************** *** 1084,1090 **** ReceiveAndUnpackTarFile(PGconn *conn, PGresult *res, int rownum) if (copybuf != NULL) PQfreemem(copybuf); ! if (basetablespace) WriteRecoveryConf(); } --- 1084,1090 ---- if (copybuf != NULL) PQfreemem(copybuf); ! if (basetablespace && writerecoveryconf) WriteRecoveryConf(); }