Re: beta2, I can't set UTF-8 for czech locales on win

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Dave Page <dpage(at)postgresql(dot)org>
Subject: Re: beta2, I can't set UTF-8 for czech locales on win
Date: 2007-11-03 08:19:06
Message-ID: 472C2EFA.80507@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera wrote:
> Pavel Stehule wrote:
>> On 01/11/2007, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>> "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> writes:
>>>> When I try manually rebuild cluster I had second problem:
>>>> C:\PostgreSQL\bin>initdb -D ../data
>>>> The program "postgres" is needed by initdb but was not found in the
>>>> same directory as "C:\PostgreSQL\bin/initdb".
>>>> Check your installation.
>>> Do you have the same problem previously reported that "postgres -V"
>>> doesn't work? If so, maybe taking out libxml2 will help?
>
>> No, it is different problem. It was my beginner mistake :(. I run
>> initdb as Administrator. It needs maybe some hint message. With runas
>> initdb works.
>
> IMHO we should check for an Administrator user and reject it
> explicitely. The error message is way too obscure.

We used to do that, and got a lot more complaints then... Note that
running initdb as administrator works in the vast majority of cases.
It's only if you have some permissions that means you access a file only
using the Administrators or PowerUsers group that it fails (because we
drop those permissions)

//Magnus

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2007-11-03 09:03:59 Re: Test lab
Previous Message andy 2007-11-03 01:46:08 Re: pg 8.3beta 2 restore db with autovacuum report