mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 23:26:30 +00:00
Remove whitespace
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
MODULE_big = repmgr_funcs
|
||||
DATA_built=repmgr_funcs.sql
|
||||
DATA=uninstall_repmgr_funcs.sql
|
||||
OBJS=repmgr_funcs.o
|
||||
OBJS=repmgr_funcs.o
|
||||
|
||||
ifdef USE_PGXS
|
||||
PGXS := $(shell pg_config --pgxs)
|
||||
|
||||
@@ -119,7 +119,7 @@ repmgr_shmem_startup(void)
|
||||
{
|
||||
/* First time through ... */
|
||||
shared_state->lock = LWLockAssign();
|
||||
snprintf(shared_state->location,
|
||||
snprintf(shared_state->location,
|
||||
sizeof(shared_state->location), "%X/%X", 0, 0);
|
||||
}
|
||||
|
||||
@@ -155,7 +155,7 @@ repmgr_set_standby_location(char *locationstr)
|
||||
/* SQL Functions */
|
||||
|
||||
/* Read last xlog location reported by this standby from shared memory */
|
||||
Datum
|
||||
Datum
|
||||
repmgr_get_last_standby_location(PG_FUNCTION_ARGS)
|
||||
{
|
||||
char location[MAXFNAMELEN];
|
||||
@@ -172,8 +172,8 @@ repmgr_get_last_standby_location(PG_FUNCTION_ARGS)
|
||||
}
|
||||
|
||||
|
||||
/* Set update last xlog location reported by this standby to shared memory */
|
||||
Datum
|
||||
/* Set update last xlog location reported by this standby to shared memory */
|
||||
Datum
|
||||
repmgr_update_standby_location(PG_FUNCTION_ARGS)
|
||||
{
|
||||
text *location = PG_GETARG_TEXT_P(0);
|
||||
|
||||
Reference in New Issue
Block a user