This file is indexed.

/usr/include/postgres-xc/server/pgxc/barrier.h is in postgres-xc-server-dev 1.1-2ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*-------------------------------------------------------------------------
 *
 * barrier.h
 *
 *	  Definitions for the PITR barrier handling
 *
 *
 * Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group
 * Portions Copyright (c) 2010-2012 Postgres-XC Development Group
 *
 * src/include/pgxc/barrier.h
 *
 *-------------------------------------------------------------------------
 */

#ifndef BARRIER_H
#define BARRIER_H

#include "access/xlog.h"
#include "access/xlogdefs.h"

#define CREATE_BARRIER_PREPARE	'P'
#define CREATE_BARRIER_EXECUTE	'X'
#define CREATE_BARRIER_END		'E'

#define CREATE_BARRIER_PREPARE_DONE	'p'
#define CREATE_BARRIER_EXECUTE_DONE	'x'

typedef struct xl_barrier
{
	char	barrier_id[1];	/* variable length data follows */
} xl_barrier;

#define XLOG_BARRIER_CREATE	0x00

extern void ProcessCreateBarrierPrepare(const char *id);
extern void ProcessCreateBarrierEnd(const char *id);
extern void ProcessCreateBarrierExecute(const char *id);

extern void RequestBarrier(const char *id, char *completionTag);
extern void barrier_redo(XLogRecPtr lsn, XLogRecord *record);
extern void barrier_desc(StringInfo buf, uint8 xl_info, char *rec);
#endif