pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
To: dmitry.pradun@qaddress.com
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #14589: Error in creating tablespace
Date: Tue, 28 Mar 2017 19:18:18 +0900
Message-ID: <cd65699e-37a9-d3de-9658-b5cbf3a96ae4@lab.ntt.co.jp> (raw)
In-Reply-To: <fc9d989a-3828-e852-ef32-5f1b8aa08560@lab.ntt.co.jp>
References: <20170315083716.1429.15294@wrigleys.postgresql.org>
	<fc9d989a-3828-e852-ef32-5f1b8aa08560@lab.ntt.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



view thread (2+ messages)

Message-ID: <cd65699e-37a9-d3de-9658-b5cbf3a96ae4@lab.ntt.co.jp>
Permalink:  ../cd65699e-37a9-d3de-9658-b5cbf3a96ae4@lab.ntt.co.jp/
Also on:    postgresql.org/message-id/cd65699e-37a9-d3de-9658-b5cbf3a96ae4@lab.ntt.co.jp

 · 

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-bugs@postgresql.org
  Cc: horiguchi.kyotaro@lab.ntt.co.jp, dmitry.pradun@qaddress.com
  Subject: Re: BUG #14589: Error in creating tablespace
  In-Reply-To: <cd65699e-37a9-d3de-9658-b5cbf3a96ae4@lab.ntt.co.jp>
  References: <20170315083716.1429.15294@wrigleys.postgresql.org> <fc9d989a-3828-e852-ef32-5f1b8aa08560@lab.ntt.co.jp> <cd65699e-37a9-d3de-9658-b5cbf3a96ae4@lab.ntt.co.jp>

* 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