Skip to content

Implement xdbc_fdw parallel functions #1

@Hyrikan

Description

@Hyrikan
  • Implement basic fdw functions
  • Implement IsForeignScanParallelSafe in fdw, which just returns true now :P
  • implement EstimateDSMForeignScan in fdw, for that get to know, how and where shared memory is needed in the fdw.
  • implement InitializeDSMForeignScan in fdw, which prepares the shared memory. POINTERS FORBIDDEN!
  • ReInitializeDSMForeignScan needed? probably not for now
  • implement InitializeWorkerForeignScan in fdw, here initialize the state of one worker based on the shared state and all structures needed for one worker.
  • implement IterateForeignScan in fdw, which gets called by each worker in parallel. So it has to use the private and shared state to determine its result tuple.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions