Re: any alternative to pg-safeupdate for windows 10?

From: Steve Midgley <science(at)misuse(dot)org>
To: john snow <ofbizfanster(at)gmail(dot)com>
Cc: pgsql-sql(at)lists(dot)postgresql(dot)org, pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: any alternative to pg-safeupdate for windows 10?
Date: 2019-09-19 08:16:21
Message-ID: CAJexoSKd53G+5Njp9Ep+9yh5nEVCyG_NKhAbzN603cUJn3offw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-sql

On Thu, Sep 19, 2019 at 5:01 AM john snow <ofbizfanster(at)gmail(dot)com> wrote:

> does anyone know how to get past this?
>
> pgxnclient install --pg_config "C:\PostgreSQL11\bin" safeupdate
>
> ERROR: [WinError 5] Access is denied running command: C:\PostgreSQL11\bin
> --libdir
>
>
>
> i am the admin in the postgresql11 machine i'm trying to install the
> "safeupdate" extension to
>
> and "C:\PostgreSQL11\bin" is in my PATH
>
> On Thu, Sep 19, 2019 at 11:47 AM john snow <ofbizfanster(at)gmail(dot)com> wrote:
>
>> https://github.com/eradman/pg-safeupdate requires criteria for updates
>> and deletes, so can protect from accidental wholesale updates / deletes.
>>
>> but i have not been able to install it on my windows 10 machine.
>>
>> i've installed python 3.7, pgxnclient, but pgxnclient install safeupate
>> fails
>>
>> does any one know other extensions with functionalities similar to
>> pg-safeupdate that can be installed on a windows postgresql environment?
>>
>> When you say you are an "in the postgresql11 machine" does that mean you
are an admin in Postgres or you're an admin as a Windows user? If the
former, obviously you should get Windows admin rights. If the latter, are
you running your command prompt in elevated admin mode or just regular user
mode? (You should be running the cmd prompt in elevated admin mode, I
think).

Steve

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Dinesh Somani 2019-09-20 18:13:03 Selecting Function Volatility Category
Previous Message john snow 2019-09-19 04:00:39 Re: any alternative to pg-safeupdate for windows 10?

Browse pgsql-sql by date

  From Date Subject
Next Message Jakob.Witczak 2019-09-20 08:36:49 German "umlaut insensitive" query
Previous Message john snow 2019-09-19 04:00:39 Re: any alternative to pg-safeupdate for windows 10?