/usr/include/pqxx/internal/gates/connection-sql_cursor.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 | #include <pqxx/internal/callgate.hxx>
namespace pqxx
{
namespace internal
{
class sql_cursor;
namespace gate
{
class PQXX_PRIVATE connection_sql_cursor : callgate<connection_base>
{
friend class pqxx::internal::sql_cursor;
connection_sql_cursor(reference x) : super(x) {}
result Exec(const char query[], int retries)
{ return home().Exec(query, retries); }
void add_reactivation_avoidance_count(int n)
{ home().add_reactivation_avoidance_count(n); }
};
} // namespace pqxx::internal::gate
} // namespace pqxx::internal
} // namespace pqxx
|