agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@gmail.com>
To: minsheng.bai <minsheng.bai@wellintech.com>
To: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: about running plpgsqlo.sql
Date: Thu, 16 Jan 2014 07:18:56 -0800
Message-ID: <52D7F860.1010203@gmail.com> (raw)
In-Reply-To: <201401161602076744201@wellintech.com>
References: <201401161602076744201@wellintech.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

On 01/16/2014 12:02 AM, minsheng.bai wrote:
> hi all
> i am using pl/secure,when i am running the scriptplpgsqlo.sqllocated in 
> thesharesubdirectory .
> 
> postgres=# \i J:\Program Files\PostgreSQL\9.3\share\plpgsqlo.sql
> 
> i get a error message:J::permission denied
> 
> i wanna know how to solve this problem.

I see empty space in a file path I see trouble, so quote the string.
Also the path separators should be / not  \.

So:

 postgres=# \i  'J:/Program Files/PostgreSQL/9.3/share/plpgsqlo.sql'

> 
> thanks reply
> 
>   
> 
>   
> 
> ------------------------------------------------------------------------
> 
> minsheng.bai


-- 
Adrian Klaver
adrian.klaver@gmail.com


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (2+ messages)

Message-ID: <52D7F860.1010203@gmail.com>
Permalink:  ../52D7F860.1010203@gmail.com/
Also on:    postgresql.org/message-id/52D7F860.1010203@gmail.com

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: adrian.klaver@gmail.com, minsheng.bai@wellintech.com
  Subject: Re: about running plpgsqlo.sql
  In-Reply-To: <52D7F860.1010203@gmail.com>

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

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