Skip to content
Browse files

Remove whitespace

  • Loading branch information...
1 parent 3a950c9 commit 15ba3342aabb32e0b15bf2c7594e79b4b038dd51 @simonat2ndQuadrant simonat2ndQuadrant committed Jun 7, 2011
Showing with 5 additions and 5 deletions.
  1. +1 −1 sql/Makefile
  2. +4 −4 sql/repmgr_funcs.c
View
2 sql/Makefile
@@ -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)
View
8 sql/repmgr_funcs.c
@@ -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);

0 comments on commit 15ba334

Please sign in to comment.
Something went wrong with that request. Please try again.