File tree 2 files changed +16
-16
lines changed
2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ static ExecutorStart_hook_type PreviousExecutorStartHook;
283
283
static ExecutorFinish_hook_type PreviousExecutorFinishHook ;
284
284
static ProcessUtility_hook_type PreviousProcessUtilityHook ;
285
285
static shmem_startup_hook_type PreviousShmemStartupHook ;
286
- static seq_nextval_hook_t PreviousSeqNextvalHook ;
286
+ // static seq_nextval_hook_t PreviousSeqNextvalHook;
287
287
288
288
static void MtmExecutorStart (QueryDesc * queryDesc , int eflags );
289
289
static void MtmExecutorFinish (QueryDesc * queryDesc );
@@ -3360,8 +3360,8 @@ _PG_init(void)
3360
3360
PreviousProcessUtilityHook = ProcessUtility_hook ;
3361
3361
ProcessUtility_hook = MtmProcessUtility ;
3362
3362
3363
- PreviousSeqNextvalHook = SeqNextvalHook ;
3364
- SeqNextvalHook = MtmSeqNextvalHook ;
3363
+ // PreviousSeqNextvalHook = SeqNextvalHook;
3364
+ // SeqNextvalHook = MtmSeqNextvalHook;
3365
3365
}
3366
3366
3367
3367
/*
@@ -3373,7 +3373,7 @@ _PG_fini(void)
3373
3373
shmem_startup_hook = PreviousShmemStartupHook ;
3374
3374
ExecutorFinish_hook = PreviousExecutorFinishHook ;
3375
3375
ProcessUtility_hook = PreviousProcessUtilityHook ;
3376
- SeqNextvalHook = PreviousSeqNextvalHook ;
3376
+ // SeqNextvalHook = PreviousSeqNextvalHook;
3377
3377
}
3378
3378
3379
3379
Original file line number Diff line number Diff line change @@ -1172,18 +1172,18 @@ void MtmExecutor(void* work, size_t size)
1172
1172
s .len = save_len ;
1173
1173
break ;
1174
1174
}
1175
- case 'N' :
1176
- {
1177
- int64 next ;
1178
- Oid relid ;
1179
- Assert (rel != NULL );
1180
- relid = RelationGetRelid (rel );
1181
- close_rel (rel );
1182
- rel = NULL ;
1183
- next = pq_getmsgint64 (& s );
1184
- AdjustSequence (relid , next );
1185
- break ;
1186
- }
1175
+ // case 'N':
1176
+ // {
1177
+ // int64 next;
1178
+ // Oid relid;
1179
+ // Assert(rel != NULL);
1180
+ // relid = RelationGetRelid(rel);
1181
+ // close_rel(rel);
1182
+ // rel = NULL;
1183
+ // next = pq_getmsgint64(&s);
1184
+ // AdjustSequence(relid, next);
1185
+ // break;
1186
+ // }
1187
1187
case '0' :
1188
1188
Assert (rel != NULL );
1189
1189
heap_truncate_one_rel (rel );
You can’t perform that action at this time.
0 commit comments