def METHOD_NAME(
    self,
    expressions: t.Union[str, exp.Expression, t.Sequence[exp.Expression]],
    ignore_unsupported_errors: bool = False,
    quote_identifiers: bool = True,
    **kwargs: t.Any,
) -> None:
    """
    To make sure that inserts and updates take effect we need to commit explicitly unless the
    statement is executed as part of an active transaction.
    Reference: https://www.psycopg.org/psycopg3/docs/basic/transactions.html
    """
    super().METHOD_NAME(
        expressions,
        ignore_unsupported_errors=ignore_unsupported_errors,
        quote_identifiers=quote_identifiers,
        **kwargs,
    )
    if not self._connection_pool.is_transaction_active:
        self._connection_pool.commit()