tcpkeep.patch
text/x-patch
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
| File | + | − |
|---|---|---|
| src/backend/libpq/pqcomm.c | 1 | 1 |
Index: src/backend/libpq/pqcomm.c
===================================================================
RCS file: /home/postgres/pgrepo/pgsql/src/backend/libpq/pqcomm.c,v
retrieving revision 1.205
diff -c -r1.205 pqcomm.c
*** src/backend/libpq/pqcomm.c 26 Feb 2010 02:00:43 -0000 1.205
--- src/backend/libpq/pqcomm.c 13 Mar 2010 04:39:19 -0000
***************
*** 1418,1427 ****
int
pq_setkeepalivesinterval(int interval, Port *port)
{
if (port == NULL || IS_AF_UNIX(port->laddr.addr.ss_family))
return STATUS_OK;
- #ifdef TCP_KEEPINTVL
if (interval == port->keepalives_interval)
return STATUS_OK;
--- 1418,1427 ----
int
pq_setkeepalivesinterval(int interval, Port *port)
{
+ #ifdef TCP_KEEPINTVL
if (port == NULL || IS_AF_UNIX(port->laddr.addr.ss_family))
return STATUS_OK;
if (interval == port->keepalives_interval)
return STATUS_OK;