I have just updated the VS Code integration to export/import SQL from postgres nodes.
Updated to extract SQL from postgres nodes.
original thread is here