Re: Help with starting portable version of postgresql

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Help with starting portable version of postgresql
Date: 2009-12-05 23:49:15
Message-ID: hferhr$sbg$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

John R Pierce wrote on 06.12.2009 00:01:
>> I downloaded the portable version of Postegresql from
>> http://greg.webhop.net/postgresql_portable
>>
>> It works but the problem is that to start the server you must load it
>> from the gui. Instead since I want to start the server from my app, I
>> need to understand how to load it manually. I tried starting
>> postgres.exe but it's saying:
>> Execution of PostgreSQL by a user with administrative permissions is not
>> permitted.

You should use pg_ctl instead. That will take care of dropping any administrative rights the current user might have. I'm using a set of batch files to create a "portable" postgres, and I use pg_ctl for that purpose even with administrator account.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Broersma 2009-12-06 03:09:51 Re: Error in crosstab using date_trunc
Previous Message John R Pierce 2009-12-05 23:01:43 Re: Help with starting portable version of postgresql