WIP support for preserving failover slots

This commit is contained in:
Craig Ringer
2016-03-30 14:51:12 +08:00
committed by Ian Barwick
parent e9445a5d5e
commit f27979bbe1
4 changed files with 174 additions and 2 deletions

View File

@@ -24,12 +24,17 @@
#include <stdlib.h>
#include "errcode.h"
#define QUERY_STR_LEN 8192
#define MAXLEN 1024
#define MAXLINELENGTH 4096
#define MAXVERSIONSTR 16
#define MAXCONNINFO 1024
/* Why? http://stackoverflow.com/a/5459929/398670 */
#define STR(x) CppAsString(x)
#define MAXLEN_STR STR(MAXLEN)
extern int
xsnprintf(char *str, size_t size, const char *format,...)