How to print the RAISE NOTICE output , if I am using it with psycopg2? I’m trying to print during the loop: