Fix for pg_update on win32

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Fix for pg_update on win32
Date: 2011-07-30 05:56:39
Message-ID: 201107300556.p6U5udi22629@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Based on EnterpriseDB testing, I have applied the attached patch to fix
a pg_upgrade bug on Win32 on 9.1 and 9.2. The problem is that on Win32
you can't stat() a directory with a trailing slash --- this is already
mentioned in our src/port/path.c. The patch removes a lone trailing
slash.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

Attachment Content-Type Size
/rtmp/diff text/x-diff 726 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-07-30 06:32:21 Re: pgbench internal contention
Previous Message jordani 2011-07-30 05:23:44 Re: Incremental checkopints