From: | dipti shah <shahdipti1980(at)gmail(dot)com> |
---|---|
To: | John R Pierce <pierce(at)hogranch(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Set the permissions while creating database, schema, and tables |
Date: | 2010-02-15 08:49:34 |
Message-ID: | d5b05a951002150049h678dac55i378787333e77489f@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
That's I know but I was wondering if there is anyway to do it while creating
itself.
On Mon, Feb 15, 2010 at 1:46 PM, John R Pierce <pierce(at)hogranch(dot)com> wrote:
> dipti shah wrote:
>
>> Hi,
>>
>> Could anyone please help me out here. I want to set the required
>> permissions while creating PostGreSQL database, schema, and tables from
>> stored procedures. Is it possible to do it while creating them?
>>
>> I could see that "OWNER" option is there while creating database but
>> couldn't see such option for schema or table. Please let me know if I missed
>> out something.
>>
>> CREATE DATABASE sales OWNER salesapp TABLESPACE salesspace;
>>
>> With above command, can I grant permission to particular group of users?
>>
>
> you would use the GRANT command to grant permissions
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Merlin Moncure | 2010-02-15 14:24:00 | Re: how to create a new composite type using already existing composite types |
Previous Message | John R Pierce | 2010-02-15 08:16:13 | Re: Set the permissions while creating database, schema, and tables |