Class PgOid (2.27.0)

A representation of the PostgreSQL Object Identifier (OID) type: used as primary keys for various system tables in the PostgreSQL dialect.

Constructors

PgOid(PgOid const &)

Regular value type, supporting copy, assign, move.

Parameter
Name Description
PgOid const &

PgOid(PgOid &&)

Regular value type, supporting copy, assign, move.

Parameter
Name Description
PgOid &&

PgOid()

Default construction yields OID 0.

PgOid(std::uint64_t)

Construction from an OID unsigned four-byte integer.

Parameter
Name Description
value std::uint64_t

Operators

operator=(PgOid const &)

Regular value type, supporting copy, assign, move.

Parameter
Name Description
PgOid const &
Returns
Type Description
PgOid &

operator=(PgOid &&)

Regular value type, supporting copy, assign, move.

Parameter
Name Description
PgOid &&
Returns
Type Description
PgOid &

operator std::uint64_t() const

Conversion to an OID unsigned four-byte integer.