@@ -64,7 +64,7 @@ static void pg_start_backup(const char *label, bool smooth, pgBackup *backup);
6464static void pg_stop_backup (pgBackup * backup );
6565static bool pg_is_standby (void );
6666static void get_lsn (PGconn * conn ,PGresult * res ,XLogRecPtr * lsn ,bool stop_backup );
67- static void get_xid (PGresult * res ,uint32 * xid );
67+ static void get_xid (PGresult * res ,TransactionId * xid );
6868static void pg_ptrack_clear (void );
6969static bool pg_ptrack_support (void );
7070static bool pg_ptrack_enable (void );
@@ -1042,14 +1042,14 @@ get_lsn(PGconn *conn, PGresult *res, XLogRecPtr *lsn, bool stop_backup)
10421042 * Get XID from result of txid_current() after pg_stop_backup().
10431043 */
10441044static void
1045- get_xid (PGresult * res ,uint32 * xid )
1045+ get_xid (PGresult * res ,TransactionId * xid )
10461046{
10471047if (res == NULL || PQntuples (res )!= 1 || PQnfields (res )!= 1 )
10481048elog (ERROR ,
10491049"result of txid_current() is invalid: %s" ,
10501050PQerrorMessage (connection ));
10511051
1052- if (sscanf (PQgetvalue (res ,0 ,0 ),"%u" ,xid )!= 1 )
1052+ if (sscanf (PQgetvalue (res ,0 ,0 ),XID_FMT ,xid )!= 1 )
10531053{
10541054elog (ERROR ,
10551055"result of txid_current() is invalid: %s" ,