code: def create_server_side_cursor(self):
      # use server-side cursors:
      # psycopg
      # https://www.psycopg.org/psycopg3/docs/advanced/cursors.html#server-side-cursors
      # psycopg2
      # https://www.psycopg.org/docs/usage.html#server-side-cursors
      ident = "c_%s_%s" % (
          hex(id(self))[2:],
          hex(_server_side_id())[2:],
      )
      return self._dbapi_connection.cursor(ident)
  
imports: from __future__ import annotations
  import decimal
  from .array import ARRAY
  from .base import _DECIMAL_TYPES
  from .base import _FLOAT_TYPES
  from .base import _INT_TYPES
  from .base import PGDialect
  from .base import PGExecutionContext
  from .hstore import HSTORE
  from .pg_catalog import _SpaceVector
  from .pg_catalog import INT2VECTOR
  from .pg_catalog import OIDVECTOR
  from ...None import exc
  from ...None import types
  from ...None import util
  from ...engine import processors
label_desc: Use image node_id 1 for calling the _PGExecutionContext_common_psycopg obj's underlying member method code with example usage: obj.create_server_side_cursor() and returns: self