pqfinish_before_exit_v1.patch
application/octet-stream
Filename: pqfinish_before_exit_v1.patch
Type: application/octet-stream
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: context
Series: patch v1
| File | + | − |
|---|---|---|
| src/bin/pg_basebackup/streamutil.c | 2 | 0 |
*** a/src/bin/pg_basebackup/streamutil.c
--- b/src/bin/pg_basebackup/streamutil.c
***************
*** 167,172 **** GetConnection(void)
--- 167,173 ----
{
fprintf(stderr, _("%s: could not determine server setting for integer_datetimes\n"),
progname);
+ PQfinish(tmpconn);
exit(1);
}
***************
*** 178,183 **** GetConnection(void)
--- 179,185 ----
{
fprintf(stderr, _("%s: integer_datetimes compile flag does not match server\n"),
progname);
+ PQfinish(tmpconn);
exit(1);
}