langchain/memory/chat_message_histories/postgres.py/PostgresChatMessageHistory/clear
class PostgresChatMessageHistory:    def clear(self) -> None:
        """Clear session memory from PostgreSQL"""
        query = f"DELETE FROM {self.table_name} WHERE session_id = %s;"
        self.cursor.execute(query, (self.session_id,))
        self.connection.commit()