Right click on a table-> go to properties-> create pk constraint and addcolumn click ok. A unhandled exception occurs on my machine and pgadminexits.