Thread: Using functions in SQL statements

Using functions in SQL statements

From
Allan Engelhardt
Date:
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.