Using functions in SQL statements - Mailing list pgsql-sql

From Allan Engelhardt
Subject Using functions in SQL statements
Date
Msg-id 3B6D2835.1B264094@cybaea.com
Whole thread Raw
List pgsql-sql
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.




pgsql-sql by date:

Previous
From: caldodge@fpcc.net (Calvin Dodge)
Date:
Subject: Re: Where is the database located in 7.1.2?
Next
From: Allan Engelhardt
Date:
Subject: Creating foreign key constraint to child table?