pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #14589: Error in creating tablespace
2+ messages / 2 participants
[nested] [flat]

* BUG #14589: Error in creating tablespace
@ 2017-03-15 08:37 dmitry.pradun@qaddress.com
  2017-03-28 10:18 ` Re: BUG #14589: Error in creating tablespace Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
  0 siblings, 1 reply; 2+ messages in thread

From: dmitry.pradun@qaddress.com @ 2017-03-15 08:37 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      14589
Logged by:          Dmitry Pradun
Email address:      dmitry.pradun@qaddress.com
PostgreSQL version: 9.5.4
Operating system:   Windows 7 x64 Maximal
Description:        

I use postgres 9.5.4 binaries for win7 x64 to initiate my own Postgres
server. When it is initiated, i try to execute the following command:

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?


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


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #14589: Error in creating tablespace
  2017-03-15 08:37 BUG #14589: Error in creating tablespace dmitry.pradun@qaddress.com
@ 2017-03-28 10:18 ` Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
  0 siblings, 0 replies; 2+ messages in thread

From: Kyotaro HORIGUCHI @ 2017-03-28 10:18 UTC (permalink / raw)
  To: dmitry.pradun@qaddress.com; 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




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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-03-28 10:18 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-03-15 08:37 BUG #14589: Error in creating tablespace dmitry.pradun@qaddress.com
2017-03-28 10:18 ` Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>

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