Using functions in SQL statements

From: Allan Engelhardt <allane(at)cybaea(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Using functions in SQL statements
Date: 2001-08-05 11:04:21
Message-ID: 3B6D2835.1B264094@cybaea.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-sql by date

  From Date Subject
Next Message Allan Engelhardt 2001-08-05 12:49:22 Creating foreign key constraint to child table?
Previous Message Danny Aldham 2001-08-04 00:25:12 Re: Knowing new item in table...