Search Postgresql Archives

Re:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Who were you logged I to psql as? Does the dump switch users?

On November 13, 2015 12:38:19 AM EST, Alex Luya <alexander.luya@xxxxxxxxx> wrote:
Hello,
       I created a new database by 

       create database icare;

       then quit off psql and  run:
  
        pg_restore --clean --create --exit-on-error --dbname=icare icare-test.tar

         it complains:

          pg_restore: [archiver (db)] Error while PROCESSING TOC:
          pg_restore: [archiver (db)] Error from TOC entry 21; 2615 80924 SCHEMA icare icare
          pg_restore: [archiver (db)] could not execute query: ERROR:  permission denied for database icare
           Command was: CREATE SCHEMA icare;

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux