pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Allan Engelhardt <allane@cybaea.com>
To: pgsql-sql@postgresql.org
Subject: Using functions in SQL statements
Date: Sun, 05 Aug 2001 12:04:21 +0100
Message-ID: <3B6D2835.1B264094@cybaea.com> (raw)

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.





Message-ID: <3B6D2835.1B264094@cybaea.com>
Permalink:  ../3B6D2835.1B264094@cybaea.com/
Also on:    postgresql.org/message-id/3B6D2835.1B264094@cybaea.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: allane@cybaea.com
  Subject: Re: Using functions in SQL statements
  In-Reply-To: <3B6D2835.1B264094@cybaea.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox