• Robert Haas's avatar
    Further code review for pg_lsn data type. · 694e3d13
    Robert Haas authored
    Change input function error messages to be more consistent with what is
    done elsewhere.  Remove a bunch of redundant type casts, so that the
    compiler will warn us if we screw up.  Don't pass LSNs by value on
    platforms where a Datum is only 32 bytes, per buildfarm.  Move macros
    for packing and unpacking LSNs to pg_lsn.h so that we can include
    access/xlogdefs.h, to avoid an unsatisfied dependency on XLogRecPtr.
    694e3d13
postgres.h 20.7 KB