| From: | Don Parris <parrisdc(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: How To Install Extension Via Script File? |
| Date: | 2013-08-08 23:02:56 |
| Message-ID: | CAJ-7yo=dGBDxMSvXFe763wamXtrMdDNWg7e-0V4Kmizo6XEEfQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Thu, Aug 8, 2013 at 6:30 PM, John R Pierce <pierce(at)hogranch(dot)com> wrote:
> On 8/8/2013 2:13 PM, Don Parris wrote:
>
>> I thought I could add the commands and run the create script by doing:
>> sudo -u postgres psql -U user -W -d mydb --file=/home/user/dev/mydb_**
>> create.sql
>>
>> I thought that, running my script as the superuser, it would have the
>> privileges necessary to install the extension, but I still got a
>> "permission denied" error.
>>
>
> can the postgres user access /home/user/dev ?
>
> thats aside from the rest of potentially wrong stuff the other guys
> mentioned.
>
Oops! That *could* create havoc, couldn't it? Still, should be easy
enough to rectify.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Oliver Elphick | 2013-08-08 23:02:59 | Re: Postgres won't start |
| Previous Message | Don Parris | 2013-08-08 22:57:39 | Re: How To Install Extension Via Script File? |