Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W3oin-0004I8-90 for pgsql-sql@arkaria.postgresql.org; Thu, 16 Jan 2014 15:19:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W3oim-0004OP-OX for pgsql-sql@arkaria.postgresql.org; Thu, 16 Jan 2014 15:19:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W3oil-0004OI-OT for pgsql-sql@postgresql.org; Thu, 16 Jan 2014 15:19:03 +0000 Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W3oii-0007Kr-OO for pgsql-sql@postgresql.org; Thu, 16 Jan 2014 15:19:03 +0000 Received: by mail-pd0-f175.google.com with SMTP id r10so2706929pdi.34 for ; Thu, 16 Jan 2014 07:18:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=47WZvTcBcsj89Zn707UETlP19mQ8T7inkRpyGnGNJ8w=; b=yqVod7OdL0Ugd4ORFDLDE3SuB9FhaJilaNnzN+D9o+Tryr6r8kSiNoBlIwQKZL5Xsk vPGTfOx/CTEqeV68sD2iVxRadtPfXMw7wO9U6Toi6XFLibbrJ2Do3YHpvJvJCDsbcbq+ Og52djEhagikFVRLpHxXeADNjk+MabMTD3CwxVHvnxn3JgkoA7VG8wWl5tDmMIZt7Tyw jR/iulgEul4Kdafci8iBcnJ81QLVSuhQtfwIbl3moWDVZIcCspbNKk8bb964m4OHj8eN omR0h1rqwOzqR8B/FrM6Zi6LU/bJByHJn2JFbCRoi6MCyLIuU2yxhYViJ07jRAkKJwm9 Hgjg== X-Received: by 10.68.162.98 with SMTP id xz2mr10741897pbb.138.1389885538685; Thu, 16 Jan 2014 07:18:58 -0800 (PST) Received: from panda.site (65-102-187-8.tukw.qwest.net. [65.102.187.8]) by mx.google.com with ESMTPSA id gw11sm4894737pbd.17.2014.01.16.07.18.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 Jan 2014 07:18:57 -0800 (PST) Message-ID: <52D7F860.1010203@gmail.com> Date: Thu, 16 Jan 2014 07:18:56 -0800 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "minsheng.bai" , pgsql-sql Subject: Re: about running plpgsqlo.sql References: <201401161602076744201@wellintech.com> In-Reply-To: <201401161602076744201@wellintech.com> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org 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