* Is the requested file ready yet?
*/
static bool
-CustomizableNextWALFileReady()
+CustomizableNextWALFileReady(void)
{
if (stat(WALFilePath, &stat_buf) == 0)
{
* PGXACT entry.
*/
void
-PostPrepare_Twophase()
+PostPrepare_Twophase(void)
{
LWLockAcquire(TwoPhaseStateLock, LW_EXCLUSIVE);
MyLockedGxact->locking_backend = InvalidBackendId;
* Gets the current query fdw tuplestore and initializes it if necessary
*/
static Tuplestorestate *
-GetCurrentFDWTuplestore()
+GetCurrentFDWTuplestore(void)
{
Tuplestorestate *ret;
* owner back to its original value.
*/
void
-SnapBuildClearExportedSnapshot()
+SnapBuildClearExportedSnapshot(void)
{
/* nothing exported, thats the usual case */
if (!ExportInProgress)
}
void
-replication_scanner_finish()
+replication_scanner_finish(void)
{
yy_delete_buffer(scanbufhandle);
scanbufhandle = NULL;
* process, similar to what transaction abort does in a regular backend.
*/
void
-WalSndErrorCleanup()
+WalSndErrorCleanup(void)
{
LWLockReleaseAll();
}
static int
-errcode_for_dynamic_shared_memory()
+errcode_for_dynamic_shared_memory(void)
{
if (errno == EFBIG || errno == ENOMEM)
return errcode(ERRCODE_OUT_OF_MEMORY);
* cycles we spent tracking such fine details would be well-spent.
*/
void
-InvalidateCatalogSnapshot()
+InvalidateCatalogSnapshot(void)
{
CatalogSnapshotStale = true;
}
* Print the values to be changed.
*/
static void
-PrintNewControlValues()
+PrintNewControlValues(void)
{
char fname[MAXFNAMELEN];
static void
-check_spi_usage_allowed()
+check_spi_usage_allowed(void)
{
/* see comment in plperl_fini() */
if (plperl_ending)