pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Hillary Masha <hillarymasha@geotab.com>
Cc: Thomas Kellerer <shammat@gmx.net>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Corrupted Postgresql Microsoft Binaries
Date: Mon, 29 Aug 2022 08:09:12 -0700
Message-ID: <09fceda4-ff63-2c3c-1e3b-fed14274e06e@aklaver.com> (raw)
In-Reply-To: <CA+RCjax7d3djH6YMRb9bnHzmtz6hFhexq9YsYbtYdeOVUwh5+Q@mail.gmail.com>
References: <CA+RCjaw=GH-Lyxe5=5-un6sQjO-cQjhTeBDomiXoWQDrvVYwxA@mail.gmail.com>
	<7397a6db-ec92-d5c7-909e-f345fcd2ab89@gmx.net>
	<0b121140-441a-6596-8258-0ce291f0eb76@aklaver.com>
	<CA+RCjax7d3djH6YMRb9bnHzmtz6hFhexq9YsYbtYdeOVUwh5+Q@mail.gmail.com>

On 8/29/22 07:50, Hillary Masha wrote:
> After further investigation, it was determined that the issue was with 
> the length of the path of some subdirectories in the zip file for the 
> new binaries. Windows has a max path length of 260 characters, hence the 
> issue with unzipping.
> Postgres V 14.3 had a max file path length of 226
> image.png
> Postgres V 14.5 has a max file path length of 321
> image.png
> 
> My team uses powershell v5 in our code to unzip these files, we needed 
> to enable 'Long Path' for the files to be successfully unzipped. This 

Hmm, this must be a MS client software fix as non-MS products don't have 
this issue when unzipping. I see the long directory in the archive 
unzipped by 7-zip.

> was added as an opt-in by Microsoft for Windows 10 
> (https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=powershell 
> <https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=powershell;).
> Note that the files were successfully unzipped in Powershell v7 without 
> making any changes.
> 
> On Wed, Aug 24, 2022 at 5:36 PM Adrian Klaver <adrian.klaver@aklaver.com 



-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (13+ messages)

Message-ID: <09fceda4-ff63-2c3c-1e3b-fed14274e06e@aklaver.com>
Permalink:  ../09fceda4-ff63-2c3c-1e3b-fed14274e06e@aklaver.com/
Also on:    postgresql.org/message-id/09fceda4-ff63-2c3c-1e3b-fed14274e06e@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, hillarymasha@geotab.com, shammat@gmx.net
  Subject: Re: Corrupted Postgresql Microsoft Binaries
  In-Reply-To: <09fceda4-ff63-2c3c-1e3b-fed14274e06e@aklaver.com>
  References: <CA+RCjaw=GH-Lyxe5=5-un6sQjO-cQjhTeBDomiXoWQDrvVYwxA@mail.gmail.com> <7397a6db-ec92-d5c7-909e-f345fcd2ab89@gmx.net> <0b121140-441a-6596-8258-0ce291f0eb76@aklaver.com> <CA+RCjax7d3djH6YMRb9bnHzmtz6hFhexq9YsYbtYdeOVUwh5+Q@mail.gmail.com> <09fceda4-ff63-2c3c-1e3b-fed14274e06e@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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