@@ -125,7 +125,7 @@ do_backup_pg(InstanceState *instanceState, PGconn *backup_conn,
125125}
126126
127127/* Clear ptrack files for not PTRACK backups */
128- if (current .backup_mode != BACKUP_MODE_DIFF_PTRACK && nodeInfo -> is_ptrack_enable )
128+ if (current .backup_mode != BACKUP_MODE_DIFF_PTRACK && nodeInfo -> is_ptrack_enabled )
129129pg_ptrack_clear (backup_conn ,nodeInfo -> ptrack_version_num );
130130
131131/* notify start of backup to PostgreSQL server */
@@ -812,15 +812,15 @@ do_backup(InstanceState *instanceState, pgSetBackupParams *set_backup_params,
812812//elog(WARNING, "ptrack_version_num %d", ptrack_version_num);
813813
814814if (nodeInfo .ptrack_version_num > 0 )
815- nodeInfo .is_ptrack_enable = pg_ptrack_enable (backup_conn ,nodeInfo .ptrack_version_num );
815+ nodeInfo .is_ptrack_enabled = pg_is_ptrack_enabled (backup_conn ,nodeInfo .ptrack_version_num );
816816
817817if (current .backup_mode == BACKUP_MODE_DIFF_PTRACK )
818818{
819819if (nodeInfo .ptrack_version_num == 0 )
820820elog (ERROR ,"This PostgreSQL instance does not support ptrack" );
821821else
822822{
823- if (!nodeInfo .is_ptrack_enable )
823+ if (!nodeInfo .is_ptrack_enabled )
824824elog (ERROR ,"Ptrack is disabled" );
825825}
826826}