Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXuxu-0006wA-TZ for pgsql-general@arkaria.postgresql.org; Wed, 09 Apr 2014 16:03:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WXuxt-00018Q-8v for pgsql-general@arkaria.postgresql.org; Wed, 09 Apr 2014 16:03:05 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXuxf-0000qH-KV for pgsql-general@postgresql.org; Wed, 09 Apr 2014 16:02:51 +0000 Received: from teladesign.vm.bytemark.co.uk ([89.16.172.204]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXuxb-0000I3-Nf for pgsql-general@postgresql.org; Wed, 09 Apr 2014 16:02:50 +0000 Received: from [93.107.231.214] (helo=[127.0.0.1]) by teladesign.vm.bytemark.co.uk with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WXuxZ-00010q-Cd; Wed, 09 Apr 2014 17:02:45 +0100 Message-ID: <53456F1C.90509@iol.ie> Date: Wed, 09 Apr 2014 17:02:36 +0100 From: Raymond O'Donnell Reply-To: rod@iol.ie User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Gaurav Jindal CC: Michael Paquier , 'PostgreSQL' Subject: Re: import .sql file into PostgreSQL database References: <5343DE30.7060306@iol.ie> <53443135.5070108@iol.ie> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 140409-1, 09/04/2014), Outbound message X-Antivirus-Status: Clean X-Pg-Spam-Score: -0.0 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On 09/04/2014 03:42, Gaurav Jindal wrote: > Inline image 1 > > > On Tue, Apr 8, 2014 at 5:21 PM, > wrote: > > > - Your OS > Windows 7 > > - What version of PostgreSQL you have > 9.3.4 > > - What is in the SQL file you're trying to execute. > Tables and their description > > - The EXACT error message that you're getting. > Permission denied when I run > \i dump.sql in psql Please keep your replies on-list. I think that message is coming from the OS; messages from Postgres are usual more specific, for example, "Permission denied for relation....". It looks as if you haven't the OS permissions to read the SQL file. Ray. -- Raymond O'Donnell :: Galway :: Ireland rod@iol.ie -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general