File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -1848,12 +1848,9 @@ RestoreSnapshot(char *start_address)
18481848
18491849/*
18501850 * Install a restored snapshot as the transaction snapshot.
1851- *
1852- * The second argument is of type void * so that snapmgr.h need not include
1853- * the declaration for PGPROC.
18541851 */
18551852void
1856- RestoreTransactionSnapshot (Snapshot snapshot , void * source_pgproc )
1853+ RestoreTransactionSnapshot (Snapshot snapshot , PGPROC * source_pgproc )
18571854{
18581855 SetTransactionSnapshot (snapshot , NULL , InvalidPid , source_pgproc );
18591856}
Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ extern bool HistoricSnapshotActive(void);
120120extern Size EstimateSnapshotSpace (Snapshot snapshot );
121121extern void SerializeSnapshot (Snapshot snapshot , char * start_address );
122122extern Snapshot RestoreSnapshot (char * start_address );
123- extern void RestoreTransactionSnapshot (Snapshot snapshot , void * source_pgproc );
123+ struct PGPROC ;
124+ extern void RestoreTransactionSnapshot (Snapshot snapshot , struct PGPROC * source_pgproc );
124125
125126#endif /* SNAPMGR_H */
You can’t perform that action at this time.
0 commit comments