This file is indexed.

/usr/include/pqxx/internal/gates/connection-transaction.hxx is in libpqxx3-dev 3.1-1.

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
44
45
46
47
48
49
50
51
52
53
#include <pqxx/internal/callgate.hxx>

namespace pqxx
{
class connection_base;

namespace internal
{
namespace gate
{
class PQXX_PRIVATE connection_transaction : callgate<connection_base>
{
  friend class pqxx::transaction_base;

  connection_transaction(reference x) : super(x) {}

  result Exec(const char query[], int retries)
	{ return home().Exec(query, retries); }
  void RegisterTransaction(transaction_base *t)
	{ home().RegisterTransaction(t); }
  void UnregisterTransaction(transaction_base *t) throw ()
	{ home().UnregisterTransaction(t); }

  bool ReadCopyLine(PGSTD::string &line)
	{ return home().ReadCopyLine(line); }
  void WriteCopyLine(const PGSTD::string &line)
	{ home().WriteCopyLine(line); }
  void EndCopyWrite() { home().EndCopyWrite(); }

  PGSTD::string RawGetVar(const PGSTD::string &var)
	{ return home().RawGetVar(var); }
  void RawSetVar(const PGSTD::string &var, const PGSTD::string &value)
	{ home().RawSetVar(var, value); }
  void AddVariables(const PGSTD::map<PGSTD::string, PGSTD::string> &vars)
	{ home().AddVariables(vars); }

  result prepared_exec(const PGSTD::string &statement,
	const char *const params[],
	const int paramlengths[],
	int nparams)
  {
    return home().prepared_exec(statement, params, paramlengths, nparams);
  }

  bool prepared_exists(const PGSTD::string &statement) const
	{ return home().prepared_exists(statement); }

  void take_reactivation_avoidance(int counter)
	{ home().m_reactivation_avoidance.add(counter); }
};
} // namespace pqxx::internal::gate
} // namespace pqxx::internal
} // namespace pqxx