| From: | Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp> |
|---|---|
| To: | dmitry(dot)pradun(at)qaddress(dot)com, pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: BUG #14589: Error in creating tablespace |
| Date: | 2017-03-28 10:18:18 |
| Message-ID: | cd65699e-37a9-d3de-9658-b5cbf3a96ae4@lab.ntt.co.jp |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Wayne Pichotta | 2017-03-28 19:17:47 | postmaster became multithreaded |
| Previous Message | Kyotaro HORIGUCHI | 2017-03-28 06:51:00 | Re: [HACKERS] Bug in Physical Replication Slots (at least 9.5)? |