I would dearly love to do CREATE GROUP foo WITH USER CURRENT_USER; in a script to psql(1), but this does not appear to be supported by the parser. Two questions: 1. Does anybody have a good work-around for this? 2. Is there a document somewhere that says where functions are allowed in SQL statements? --- Allan. ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html