/usr/include/pqxx/internal/gates/result-creation.hxx is in libpqxx3-dev 1:3.1.1-0ubuntu4.
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 | #include <pqxx/internal/callgate.hxx>
namespace pqxx
{
namespace internal
{
namespace gate
{
class PQXX_PRIVATE result_creation : callgate<const result>
{
friend class pqxx::connection_base;
friend class pqxx::pipeline;
result_creation(reference x) : super(x) {}
static result create(
internal::pq::PGresult *rhs,
int protocol,
const PGSTD::string &query,
int encoding_code)
{
return result(rhs, protocol, query, encoding_code);
}
void CheckStatus() const { return home().CheckStatus(); }
};
} // namespace pqxx::internal::gate
} // namespace pqxx::internal
} // namespace pqxx
|