Skip site navigation (1) Skip section navigation (2)

Re: Having a problem with RoR-3.1.1 and Pg-9.1

From: "James B(dot) Byrne" <byrnejb(at)harte-lyne(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Having a problem with RoR-3.1.1 and Pg-9.1
Date: 2012-02-27 21:03:51
Message-ID: f631a841387f4bc16df161fdadb25e56.squirrel@webmail.harte-lyne.ca (view raw or flat)
Thread:
Lists: pgsql-general
On Mon, February 27, 2012 15:44, Tom Lane wrote:
> "James B. Byrne" <byrnejb(at)harte-lyne(dot)ca> writes:
>> 1. Can the comments be suppressed?
>
> No.
>
>> 2. Why is this an error in the first place?
>
> Because you're not running the script as superuser.
>
> 			regards, tom lane
>

Why is it necessary to run a script that creates a
database by the superuser when the CREATE DATABASE
privilege has been granted to the use running the script? 
This was not previously the case.


-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB(at)Harte-Lyne(dot)ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3


In response to

pgsql-general by date

Next:From: James B. ByrneDate: 2012-02-27 21:13:36
Subject: Re: Having a problem with RoR-3.1.1 and Pg-9.1
Previous:From: Tom LaneDate: 2012-02-27 20:59:09
Subject: Re: pg_class.relnamespace NOT IN pg_namespace.oid

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group