summaryrefslogtreecommitdiff
path: root/test/java/rep/fiddler/rep_literals.hrl
blob: 709c24c6a28fe4c08e4dd67e0437f51d6cd9caab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%% repmgr envelope types
%% 
-define(ACK, 1).
-define(HANDSHAKE, 2).
-define(REP_MESSAGE, 3).
-define(HEARTBEAT, 4).
-define(APP_MSG, 5).
-define(APP_RESPONSE, 6).
-define(RESP_ERROR, 7).
-define(OWN_MSG, 8).

%% Replication (control) message types
%% 
-define(PAGE, 19).

-define(REPVERSION_47, 5).
-define(REPMGR_VERSION, 4).                     % repmgr's (current) protocol version