Fix secgroups exercise on postgres

Change-Id: I1ac92c6e9fe69047c4889d518d94fdd7249d8642