fdw-scan-doc.patch

application/octet-stream

Filename: fdw-scan-doc.patch
Type: application/octet-stream
Part: 1
Message: Re: Questions and experiences writing a Foreign Data Wrapper
diff --git a/doc/src/sgml/fdwhandler.sgml b/doc/src/sgml/fdwhandler.sgml
new file mode 100644
index 76ff243..9ab712f
*** a/doc/src/sgml/fdwhandler.sgml
--- b/doc/src/sgml/fdwhandler.sgml
*************** BeginForeignScan (ForeignScanState *node
*** 152,160 ****
  </programlisting>
  
       Begin executing a foreign scan. This is called during executor startup.
!      It should perform any initialization needed before the scan can start,
!      but not start executing the actual scan (that should be done upon the
!      first call to <function>IterateForeignScan</>).
       The <structname>ForeignScanState</> node has already been created, but
       its <structfield>fdw_state</> field is still NULL.  Information about
       the table to scan is accessible through the
--- 152,158 ----
  </programlisting>
  
       Begin executing a foreign scan. This is called during executor startup.
!      It should perform any initialization needed before the scan can start.
       The <structname>ForeignScanState</> node has already been created, but
       its <structfield>fdw_state</> field is still NULL.  Information about
       the table to scan is accessible through the