/usr/include/pqxx/internal/gates/connection-prepare-invocation.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 | #include <pqxx/internal/callgate.hxx>
namespace pqxx
{
namespace prepare
{
class invocation;
} // namespace pqxx::prepare
namespace internal
{
namespace gate
{
class PQXX_PRIVATE connection_prepare_invocation : callgate<connection_base>
{
friend class pqxx::prepare::invocation;
connection_prepare_invocation(reference x) : super(x) {}
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); }
};
} // namespace pqxx::internal::gate
} // namespace pqxx::internal
} // namespace pqxx
|