Postgresql Visual Editor Code Python