pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: km4hr <km4hr@netscape.net>
To: pgsql-admin@postgresql.org
Subject: What user privileges do I need to CREATE FUNCTION's?
Date: Tue, 17 Jul 2007 12:33:06 -0700 (PDT)
Message-ID: <11656315.post@talk.nabble.com> (raw)


I'm installing an application that provides a ".sql" script to create tables
and other objects in a postgresql database. When I run the script as user
"postgres" the script executes without errors. But then all the tables and
other objects are owned by "postgres". A user that I created to access the
tables, "newuser",  doesn't have privileges needed to use them. 

If I login as "newuser" and execute the install script, I get errors
indicating "newuser" doesn't have privileges to CREATE FUNCTION's . 

How should I execute the install script so that all the objects are owned by
"newuser" and the FUNCTIONS are created?
What privileges does "newuser" need to create functions?  I can't find that
described in the postgres manual?

thanks


-- 
View this message in context: http://www.nabble.com/What-user-privileges-do-I-need-to-CREATE-FUNCTION%27s--tf4099063.html#a1165631...
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.




view thread (5+ messages)  latest in thread

Message-ID: <11656315.post@talk.nabble.com>
Permalink:  ../11656315.post@talk.nabble.com/
Also on:    postgresql.org/message-id/11656315.post@talk.nabble.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-admin@postgresql.org
  Cc: km4hr@netscape.net
  Subject: Re: What user privileges do I need to CREATE FUNCTION's?
  In-Reply-To: <11656315.post@talk.nabble.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