Postgresql While Loop Exit Python In Cmd How Get Description