syncscan.h 733 B

12345678910111213141516171819202122232425
  1. /*-------------------------------------------------------------------------
  2. *
  3. * syncscan.h
  4. * POSTGRES synchronous scan support functions.
  5. *
  6. *
  7. * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
  8. * Portions Copyright (c) 1994, Regents of the University of California
  9. *
  10. * src/include/access/syncscan.h
  11. *
  12. *-------------------------------------------------------------------------
  13. */
  14. #ifndef SYNCSCAN_H
  15. #define SYNCSCAN_H
  16. #include "storage/block.h"
  17. #include "utils/relcache.h"
  18. extern void ss_report_location(Relation rel, BlockNumber location);
  19. extern BlockNumber ss_get_location(Relation rel, BlockNumber relnblocks);
  20. extern void SyncScanShmemInit(void);
  21. extern Size SyncScanShmemSize(void);
  22. #endif