pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: pg_upgrade: fix CopyFile() on Windows to fail on file existence
6+ messages / 1 participants
[nested] [flat]

* pgsql: pg_upgrade: fix CopyFile() on Windows to fail on file existence
@ 2015-11-24 22:18  Bruce Momjian <bruce@momjian.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Bruce Momjian @ 2015-11-24 22:18 UTC (permalink / raw)
  To: pgsql-committers

pg_upgrade:  fix CopyFile() on Windows to fail on file existence

Also fix getErrorText() to return the right error string on failure.
This behavior now matches that of other operating systems.

Report by Noah Misch

Backpatch through 9.1

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/13b30c16f3164ee70599adee251256bd069fa0e4

Modified Files
--------------
src/bin/pg_upgrade/check.c       |   16 ++++++++--------
src/bin/pg_upgrade/controldata.c |    2 +-
src/bin/pg_upgrade/exec.c        |    8 ++++----
src/bin/pg_upgrade/file.c        |    8 ++++----
src/bin/pg_upgrade/function.c    |    2 +-
src/bin/pg_upgrade/option.c      |    2 +-
src/bin/pg_upgrade/pg_upgrade.c  |    2 +-
src/bin/pg_upgrade/pg_upgrade.h  |    2 +-
src/bin/pg_upgrade/relfilenode.c |    2 +-
src/bin/pg_upgrade/tablespace.c  |    2 +-
src/bin/pg_upgrade/util.c        |    9 +++------
src/bin/pg_upgrade/version.c     |    4 ++--
12 files changed, 28 insertions(+), 31 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: pg_upgrade: fix CopyFile() on Windows to fail on file existence
@ 2015-11-24 22:18  Bruce Momjian <bruce@momjian.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Bruce Momjian @ 2015-11-24 22:18 UTC (permalink / raw)
  To: pgsql-committers

pg_upgrade:  fix CopyFile() on Windows to fail on file existence

Also fix getErrorText() to return the right error string on failure.
This behavior now matches that of other operating systems.

Report by Noah Misch

Backpatch through 9.1

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/b17dbf26293e3805b5f7ab5a11a8e3f984c476ad

Modified Files
--------------
src/bin/pg_upgrade/check.c       |   16 ++++++++--------
src/bin/pg_upgrade/controldata.c |    2 +-
src/bin/pg_upgrade/exec.c        |    8 ++++----
src/bin/pg_upgrade/file.c        |    8 ++++----
src/bin/pg_upgrade/function.c    |    2 +-
src/bin/pg_upgrade/option.c      |    2 +-
src/bin/pg_upgrade/pg_upgrade.c  |    2 +-
src/bin/pg_upgrade/pg_upgrade.h  |    2 +-
src/bin/pg_upgrade/relfilenode.c |    2 +-
src/bin/pg_upgrade/tablespace.c  |    2 +-
src/bin/pg_upgrade/util.c        |    9 +++------
src/bin/pg_upgrade/version.c     |    4 ++--
12 files changed, 28 insertions(+), 31 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: pg_upgrade: fix CopyFile() on Windows to fail on file existence
@ 2015-11-24 22:18  Bruce Momjian <bruce@momjian.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Bruce Momjian @ 2015-11-24 22:18 UTC (permalink / raw)
  To: pgsql-committers

pg_upgrade:  fix CopyFile() on Windows to fail on file existence

Also fix getErrorText() to return the right error string on failure.
This behavior now matches that of other operating systems.

Report by Noah Misch

Backpatch through 9.1

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f91c4e326aa9c81223146b43b4167c29630155c4

Modified Files
--------------
contrib/pg_upgrade/check.c           |   16 ++++++++--------
contrib/pg_upgrade/controldata.c     |    2 +-
contrib/pg_upgrade/exec.c            |    8 ++++----
contrib/pg_upgrade/file.c            |    8 ++++----
contrib/pg_upgrade/function.c        |    2 +-
contrib/pg_upgrade/option.c          |    2 +-
contrib/pg_upgrade/pg_upgrade.c      |    2 +-
contrib/pg_upgrade/pg_upgrade.h      |    2 +-
contrib/pg_upgrade/relfilenode.c     |    2 +-
contrib/pg_upgrade/tablespace.c      |    2 +-
contrib/pg_upgrade/util.c            |    9 +++------
contrib/pg_upgrade/version.c         |    4 ++--
contrib/pg_upgrade/version_old_8_3.c |   14 +++++++-------
13 files changed, 35 insertions(+), 38 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: pg_upgrade: fix CopyFile() on Windows to fail on file existence
@ 2015-11-24 22:18  Bruce Momjian <bruce@momjian.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Bruce Momjian @ 2015-11-24 22:18 UTC (permalink / raw)
  To: pgsql-committers

pg_upgrade:  fix CopyFile() on Windows to fail on file existence

Also fix getErrorText() to return the right error string on failure.
This behavior now matches that of other operating systems.

Report by Noah Misch

Backpatch through 9.1

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6638c9aaf881b156fafc05371e8ed21f0cdda66e

Modified Files
--------------
contrib/pg_upgrade/file.c |    2 +-
contrib/pg_upgrade/util.c |    2 ++
2 files changed, 3 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: pg_upgrade: fix CopyFile() on Windows to fail on file existence
@ 2015-11-24 22:18  Bruce Momjian <bruce@momjian.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Bruce Momjian @ 2015-11-24 22:18 UTC (permalink / raw)
  To: pgsql-committers

pg_upgrade:  fix CopyFile() on Windows to fail on file existence

Also fix getErrorText() to return the right error string on failure.
This behavior now matches that of other operating systems.

Report by Noah Misch

Backpatch through 9.1

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0ca3c51e5520b423b17f498f6390129659ef68e0

Modified Files
--------------
contrib/pg_upgrade/file.c |    2 +-
contrib/pg_upgrade/util.c |    2 ++
2 files changed, 3 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: pg_upgrade: fix CopyFile() on Windows to fail on file existence
@ 2015-11-24 22:18  Bruce Momjian <bruce@momjian.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Bruce Momjian @ 2015-11-24 22:18 UTC (permalink / raw)
  To: pgsql-committers

pg_upgrade:  fix CopyFile() on Windows to fail on file existence

Also fix getErrorText() to return the right error string on failure.
This behavior now matches that of other operating systems.

Report by Noah Misch

Backpatch through 9.1

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c36064e438c738fb305919874f22ef1e9b755a63

Modified Files
--------------
contrib/pg_upgrade/file.c |    2 +-
contrib/pg_upgrade/util.c |    2 ++
2 files changed, 3 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2015-11-24 22:18 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-11-24 22:18 pgsql: pg_upgrade: fix CopyFile() on Windows to fail on file existence Bruce Momjian <bruce@momjian.us>
2015-11-24 22:18 pgsql: pg_upgrade: fix CopyFile() on Windows to fail on file existence Bruce Momjian <bruce@momjian.us>
2015-11-24 22:18 pgsql: pg_upgrade: fix CopyFile() on Windows to fail on file existence Bruce Momjian <bruce@momjian.us>
2015-11-24 22:18 pgsql: pg_upgrade: fix CopyFile() on Windows to fail on file existence Bruce Momjian <bruce@momjian.us>
2015-11-24 22:18 pgsql: pg_upgrade: fix CopyFile() on Windows to fail on file existence Bruce Momjian <bruce@momjian.us>
2015-11-24 22:18 pgsql: pg_upgrade: fix CopyFile() on Windows to fail on file existence Bruce Momjian <bruce@momjian.us>

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