pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Raymond O'Donnell <rod@iol.ie>
To: Gaurav Jindal <gaurjin@gmail.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL <pgsql-general@postgresql.org>
Subject: Re: import .sql file into PostgreSQL database
Date: Wed, 09 Apr 2014 17:02:36 +0100
Message-ID: <53456F1C.90509@iol.ie> (raw)
In-Reply-To: <CAFWM-9u-9u3jfJUwfxB7w+8GhLPNk8unce=U8HtO1zuDjAf=BQ@mail.gmail.com>
References: <CAFWM-9uhr3dw2LNawO2gFDCVNpEivQwhv1k9+FzBELPzdW5QrQ@mail.gmail.com>
	<CAB7nPqRvp8_3thSDHmzwqoHJzEQLZd=TsYbRjcHup_p4PGn4cg@mail.gmail.com>
	<5343DE30.7060306@iol.ie>
	<CAFWM-9s9hcMaTT03RkMeosiXsyOuBV5p8LV51zGfZBv_Yb2U7w@mail.gmail.com>
	<53443135.5070108@iol.ie>
	<C6E36C4E-4B39-44D8-9B04-22D17A32C3F1@gmail.com>
	<CAFWM-9u-9u3jfJUwfxB7w+8GhLPNk8unce=U8HtO1zuDjAf=BQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

On 09/04/2014 03:42, Gaurav Jindal wrote:
> Inline image 1
> 
> 
> On Tue, Apr 8, 2014 at 5:21 PM, <gaurjin@gmail.com
> <mailto:gaurjin@gmail.com>> 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



view thread (7+ messages)  latest in thread

Message-ID: <53456F1C.90509@iol.ie>
Permalink:  ../53456F1C.90509@iol.ie/
Also on:    postgresql.org/message-id/53456F1C.90509@iol.ie

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: rod@iol.ie, gaurjin@gmail.com, michael.paquier@gmail.com
  Subject: Re: import .sql file into PostgreSQL database
  In-Reply-To: <53456F1C.90509@iol.ie>
  References: <CAFWM-9uhr3dw2LNawO2gFDCVNpEivQwhv1k9+FzBELPzdW5QrQ@mail.gmail.com> <CAB7nPqRvp8_3thSDHmzwqoHJzEQLZd=TsYbRjcHup_p4PGn4cg@mail.gmail.com> <5343DE30.7060306@iol.ie> <CAFWM-9s9hcMaTT03RkMeosiXsyOuBV5p8LV51zGfZBv_Yb2U7w@mail.gmail.com> <53443135.5070108@iol.ie> <C6E36C4E-4B39-44D8-9B04-22D17A32C3F1@gmail.com> <CAFWM-9u-9u3jfJUwfxB7w+8GhLPNk8unce=U8HtO1zuDjAf=BQ@mail.gmail.com> <53456F1C.90509@iol.ie>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox