kazanzhy edited a comment on pull request #21307:
URL: https://github.com/apache/airflow/pull/21307#issuecomment-1029413486


   ~~Actually, I think `_PostgresServerSideCursorDecorator` could be removed if 
`PostgresToGCSOperator.query` will be modified in this way:~~
   ```
   ...
   if self.use_server_side_cursor:
       cursor.itersize = self.cursor_itersize
       cursor.fetchone()
       cursor.scroll(0, mode='absolute')
    return cursor
    ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to