Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csoDl-0005c8-Ah for pgsql-bugs@arkaria.postgresql.org; Tue, 28 Mar 2017 10:19:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1csoDk-00058W-P2 for pgsql-bugs@arkaria.postgresql.org; Tue, 28 Mar 2017 10:19:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1csoD4-0003uZ-1y for pgsql-bugs@postgresql.org; Tue, 28 Mar 2017 10:18:42 +0000 Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csoD0-0001Bt-4v for pgsql-bugs@postgresql.org; Tue, 28 Mar 2017 10:18:41 +0000 Received: from vc1.ecl.ntt.co.jp (vc1.ecl.ntt.co.jp [129.60.86.153]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id v2SAIaK6009611; Tue, 28 Mar 2017 19:18:36 +0900 Received: from vc1.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 47A815F612; Tue, 28 Mar 2017 19:18:36 +0900 (JST) Received: from jcms-pop21.ecl.ntt.co.jp (jcms-pop21.ecl.ntt.co.jp [129.60.87.134]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 3BF6D5F590; Tue, 28 Mar 2017 19:18:36 +0900 (JST) Received: from [127.0.0.1] (unknown [129.60.241.55]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTPSA id 31217400A85; Tue, 28 Mar 2017 19:18:36 +0900 (JST) Subject: Re: BUG #14589: Error in creating tablespace References: <20170315083716.1429.15294@wrigleys.postgresql.org> From: Kyotaro HORIGUCHI Message-ID: Date: Tue, 28 Mar 2017 19:18:18 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit To: dmitry.pradun@qaddress.com, pgsql-bugs@postgresql.org X-TM-AS-MML: disable X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Hi, > CREATE TABLESPACE "temp" OWNER postgres LOCATION > 'C:\Users\Public\Documents\Éxtended DB' > > But the error occurs: > > ERROR: 58P01: directory "C:\Users\Public\Documents\Éxtended DB" does not > exist > > At the same time, the directory physically is available, it was pre-created. > As i understand, the problem is in the existance in the directory path of > the symbol 'É'. How can the problem be solved? PostgreSQL passes strings in database encoding, typically UTF-8, to multibyte versions of Windows APIs. So non-ASCII characters cannot be used in file names in most cases. # I couldn't find a description like that in the documentation.. If you were on, for example, CP1252, setting server encoding to LATIN-1 might work but I'm not sure about that and I don't think it is a solution for you. regards, -- Kyotaro Horiguchi NTT Open Source Software Center -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs