Home
last modified time | relevance | path

Searched refs:recoveryconfcontents (Results 1 – 25 of 43) sorted by relevance

12

/dports/databases/postgresql12-client/postgresql-12.9/src/bin/pg_basebackup/
H A Dpg_basebackup.c141 static PQExpBuffer recoveryconfcontents = NULL;
1123 recoveryconfcontents->len,
1127 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len;
1130 WRITE_TAR_DATA(recoveryconfcontents->data,
1131 recoveryconfcontents->len);
1274 filesz + recoveryconfcontents->len,
1331 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len);
1687 recoveryconfcontents = createPQExpBuffer();
1688 if (!recoveryconfcontents)
1787 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1)
[all …]
/dports/databases/postgresql12-server/postgresql-12.9/src/bin/pg_basebackup/
H A Dpg_basebackup.c141 static PQExpBuffer recoveryconfcontents = NULL; variable
1123 recoveryconfcontents->len, in ReceiveTarFile()
1127 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
1130 WRITE_TAR_DATA(recoveryconfcontents->data, in ReceiveTarFile()
1131 recoveryconfcontents->len); in ReceiveTarFile()
1274 filesz + recoveryconfcontents->len, in ReceiveTarFile()
1331 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1687 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1688 if (!recoveryconfcontents) in GenerateRecoveryConf()
1787 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql12-plperl/postgresql-12.9/src/bin/pg_basebackup/
H A Dpg_basebackup.c141 static PQExpBuffer recoveryconfcontents = NULL; variable
1123 recoveryconfcontents->len, in ReceiveTarFile()
1127 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
1130 WRITE_TAR_DATA(recoveryconfcontents->data, in ReceiveTarFile()
1131 recoveryconfcontents->len); in ReceiveTarFile()
1274 filesz + recoveryconfcontents->len, in ReceiveTarFile()
1331 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1687 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1688 if (!recoveryconfcontents) in GenerateRecoveryConf()
1787 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql12-contrib/postgresql-12.9/src/bin/pg_basebackup/
H A Dpg_basebackup.c141 static PQExpBuffer recoveryconfcontents = NULL; variable
1123 recoveryconfcontents->len, in ReceiveTarFile()
1127 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
1130 WRITE_TAR_DATA(recoveryconfcontents->data, in ReceiveTarFile()
1131 recoveryconfcontents->len); in ReceiveTarFile()
1274 filesz + recoveryconfcontents->len, in ReceiveTarFile()
1331 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1687 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1688 if (!recoveryconfcontents) in GenerateRecoveryConf()
1787 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql12-plpython/postgresql-12.9/src/bin/pg_basebackup/
H A Dpg_basebackup.c141 static PQExpBuffer recoveryconfcontents = NULL;
1123 recoveryconfcontents->len,
1127 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len;
1130 WRITE_TAR_DATA(recoveryconfcontents->data,
1131 recoveryconfcontents->len);
1274 filesz + recoveryconfcontents->len,
1331 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len);
1687 recoveryconfcontents = createPQExpBuffer();
1688 if (!recoveryconfcontents)
1787 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1)
[all …]
/dports/databases/postgresql12-docs/postgresql-12.9/src/bin/pg_basebackup/
H A Dpg_basebackup.c141 static PQExpBuffer recoveryconfcontents = NULL; variable
1123 recoveryconfcontents->len, in ReceiveTarFile()
1127 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
1130 WRITE_TAR_DATA(recoveryconfcontents->data, in ReceiveTarFile()
1131 recoveryconfcontents->len); in ReceiveTarFile()
1274 filesz + recoveryconfcontents->len, in ReceiveTarFile()
1331 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1687 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1688 if (!recoveryconfcontents) in GenerateRecoveryConf()
1787 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql12-pltcl/postgresql-12.9/src/bin/pg_basebackup/
H A Dpg_basebackup.c141 static PQExpBuffer recoveryconfcontents = NULL; variable
1123 recoveryconfcontents->len, in ReceiveTarFile()
1127 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
1130 WRITE_TAR_DATA(recoveryconfcontents->data, in ReceiveTarFile()
1131 recoveryconfcontents->len); in ReceiveTarFile()
1274 filesz + recoveryconfcontents->len, in ReceiveTarFile()
1331 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1687 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1688 if (!recoveryconfcontents) in GenerateRecoveryConf()
1787 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql96-pltcl/postgresql-9.6.24/src/bin/pg_basebackup/
H A Dpg_basebackup.c97 static PQExpBuffer recoveryconfcontents = NULL; variable
963 recoveryconfcontents->len, in ReceiveTarFile()
967 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
970 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1514 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1515 if (!recoveryconfcontents) in GenerateRecoveryConf()
1528 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1571 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1575 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1607 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql96-server/postgresql-9.6.24/src/bin/pg_basebackup/
H A Dpg_basebackup.c97 static PQExpBuffer recoveryconfcontents = NULL; variable
963 recoveryconfcontents->len, in ReceiveTarFile()
967 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
970 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1514 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1515 if (!recoveryconfcontents) in GenerateRecoveryConf()
1528 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1571 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1575 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1607 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql96-plpython/postgresql-9.6.24/src/bin/pg_basebackup/
H A Dpg_basebackup.c97 static PQExpBuffer recoveryconfcontents = NULL; variable
963 recoveryconfcontents->len, in ReceiveTarFile()
967 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
970 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1514 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1515 if (!recoveryconfcontents) in GenerateRecoveryConf()
1528 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1571 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1575 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1607 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql96-client/postgresql-9.6.24/src/bin/pg_basebackup/
H A Dpg_basebackup.c97 static PQExpBuffer recoveryconfcontents = NULL; variable
963 recoveryconfcontents->len, in ReceiveTarFile()
967 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
970 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1514 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1515 if (!recoveryconfcontents) in GenerateRecoveryConf()
1528 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1571 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1575 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1607 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql96-contrib/postgresql-9.6.24/src/bin/pg_basebackup/
H A Dpg_basebackup.c97 static PQExpBuffer recoveryconfcontents = NULL; variable
963 recoveryconfcontents->len, in ReceiveTarFile()
967 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
970 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1514 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1515 if (!recoveryconfcontents) in GenerateRecoveryConf()
1528 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1571 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1575 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1607 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql96-plperl/postgresql-9.6.24/src/bin/pg_basebackup/
H A Dpg_basebackup.c97 static PQExpBuffer recoveryconfcontents = NULL; variable
963 recoveryconfcontents->len, in ReceiveTarFile()
967 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
970 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1514 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1515 if (!recoveryconfcontents) in GenerateRecoveryConf()
1528 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1571 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1575 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1607 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql96-docs/postgresql-9.6.24/src/bin/pg_basebackup/
H A Dpg_basebackup.c97 static PQExpBuffer recoveryconfcontents = NULL; variable
963 recoveryconfcontents->len, in ReceiveTarFile()
967 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
970 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1514 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1515 if (!recoveryconfcontents) in GenerateRecoveryConf()
1528 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1571 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1575 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1607 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql10-client/postgresql-10.19/src/bin/pg_basebackup/
H A Dpg_basebackup.c128 static PQExpBuffer recoveryconfcontents = NULL; variable
1114 recoveryconfcontents->len, in ReceiveTarFile()
1118 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
1121 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1614 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1615 if (!recoveryconfcontents) in GenerateRecoveryConf()
1628 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1670 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1674 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1706 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql10-contrib/postgresql-10.19/src/bin/pg_basebackup/
H A Dpg_basebackup.c128 static PQExpBuffer recoveryconfcontents = NULL; variable
1114 recoveryconfcontents->len, in ReceiveTarFile()
1118 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
1121 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1614 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1615 if (!recoveryconfcontents) in GenerateRecoveryConf()
1628 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1670 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1674 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1706 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql10-plpython/postgresql-10.19/src/bin/pg_basebackup/
H A Dpg_basebackup.c128 static PQExpBuffer recoveryconfcontents = NULL; variable
1114 recoveryconfcontents->len, in ReceiveTarFile()
1118 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
1121 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1614 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1615 if (!recoveryconfcontents) in GenerateRecoveryConf()
1628 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1670 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1674 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1706 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql10-docs/postgresql-10.19/src/bin/pg_basebackup/
H A Dpg_basebackup.c128 static PQExpBuffer recoveryconfcontents = NULL; variable
1114 recoveryconfcontents->len, in ReceiveTarFile()
1118 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
1121 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1614 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1615 if (!recoveryconfcontents) in GenerateRecoveryConf()
1628 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1670 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1674 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1706 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql10-plperl/postgresql-10.19/src/bin/pg_basebackup/
H A Dpg_basebackup.c128 static PQExpBuffer recoveryconfcontents = NULL; variable
1114 recoveryconfcontents->len, in ReceiveTarFile()
1118 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
1121 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1614 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1615 if (!recoveryconfcontents) in GenerateRecoveryConf()
1628 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1670 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1674 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1706 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql11-docs/postgresql-11.14/src/bin/pg_basebackup/
H A Dpg_basebackup.c135 static PQExpBuffer recoveryconfcontents = NULL; variable
1143 recoveryconfcontents->len, in ReceiveTarFile()
1147 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
1150 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1643 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1644 if (!recoveryconfcontents) in GenerateRecoveryConf()
1657 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1699 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1703 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1735 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql11-plpython/postgresql-11.14/src/bin/pg_basebackup/
H A Dpg_basebackup.c135 static PQExpBuffer recoveryconfcontents = NULL; variable
1143 recoveryconfcontents->len, in ReceiveTarFile()
1147 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
1150 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1643 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1644 if (!recoveryconfcontents) in GenerateRecoveryConf()
1657 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1699 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1703 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1735 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql11-contrib/postgresql-11.14/src/bin/pg_basebackup/
H A Dpg_basebackup.c135 static PQExpBuffer recoveryconfcontents = NULL; variable
1143 recoveryconfcontents->len, in ReceiveTarFile()
1147 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
1150 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1643 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1644 if (!recoveryconfcontents) in GenerateRecoveryConf()
1657 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1699 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1703 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1735 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql11-client/postgresql-11.14/src/bin/pg_basebackup/
H A Dpg_basebackup.c135 static PQExpBuffer recoveryconfcontents = NULL; variable
1143 recoveryconfcontents->len, in ReceiveTarFile()
1147 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
1150 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1643 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1644 if (!recoveryconfcontents) in GenerateRecoveryConf()
1657 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1699 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1703 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1735 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql10-server/postgresql-10.19/src/bin/pg_basebackup/
H A Dpg_basebackup.c128 static PQExpBuffer recoveryconfcontents = NULL; variable
1114 recoveryconfcontents->len, in ReceiveTarFile()
1118 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len; in ReceiveTarFile()
1121 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len); in ReceiveTarFile()
1614 recoveryconfcontents = createPQExpBuffer(); in GenerateRecoveryConf()
1615 if (!recoveryconfcontents) in GenerateRecoveryConf()
1628 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n"); in GenerateRecoveryConf()
1670 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n", in GenerateRecoveryConf()
1674 if (PQExpBufferBroken(recoveryconfcontents) || in GenerateRecoveryConf()
1706 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1) in WriteRecoveryConf()
[all …]
/dports/databases/postgresql11-plperl/postgresql-11.14/src/bin/pg_basebackup/
H A Dpg_basebackup.c135 static PQExpBuffer recoveryconfcontents = NULL;
1143 recoveryconfcontents->len,
1147 padding = ((recoveryconfcontents->len + 511) & ~511) - recoveryconfcontents->len;
1150 WRITE_TAR_DATA(recoveryconfcontents->data, recoveryconfcontents->len);
1643 recoveryconfcontents = createPQExpBuffer();
1644 if (!recoveryconfcontents)
1657 appendPQExpBufferStr(recoveryconfcontents, "standby_mode = 'on'\n");
1699 appendPQExpBuffer(recoveryconfcontents, "primary_slot_name = '%s'\n",
1703 if (PQExpBufferBroken(recoveryconfcontents) ||
1735 if (fwrite(recoveryconfcontents->data, recoveryconfcontents->len, 1, cf) != 1)
[all …]

12