projects
/
slony1-engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d80a61
)
Fix compile errors/warnings when compiling against pg 9.2
author
Steve Singer
<ssinger@ca.afilias.info>
Wed, 30 May 2012 14:07:00 +0000
(10:07 -0400)
committer
Steve Singer
<ssinger@ca.afilias.info>
Wed, 30 May 2012 21:51:29 +0000
(17:51 -0400)
src/backend/slony1_funcs.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/slony1_funcs.c
b/src/backend/slony1_funcs.c
index ac78a6900908c2ad8f000b91878101cd3d114733..1ea007614cdbaa3a617fda03084595468c51e83b 100644
(file)
--- a/
src/backend/slony1_funcs.c
+++ b/
src/backend/slony1_funcs.c
@@
-41,6
+41,7
@@
#include "utils/lsyscache.h"
#include "utils/memutils.h"
#include "utils/hsearch.h"
+#include "utils/timestamp.h"
#ifdef HAVE_GETACTIVESNAPSHOT
#include "utils/snapmgr.h"
#endif
@@
-1066,7
+1067,7
@@
_Slony_I_logApply(PG_FUNCTION_ARGS)
if (cmdtype == 's')
{
bool localNodeFound = true;
- Datum script_insert_args[
4
];
+ Datum script_insert_args[
5
];
apply_num_script++;
@@
-1784,7
+1785,7
@@
Datum
_Slony_I_logApplySaveStats(PG_FUNCTION_ARGS)
{
Slony_I_ClusterStatus *cs;
- Datum params[1
0
];
+ Datum params[1
1
];
char *nulls = " ";
int32 rc = 0;
int spi_rc;