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