pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Support building with Visual Studio 2015
13+ messages / 3 participants
[nested] [flat]
* pgsql: Support building with Visual Studio 2015
@ 2016-04-29 12:07 Andrew Dunstan <andrew@dunslane.net>
2016-04-29 13:29 ` Re: pgsql: Support building with Visual Studio 2015 Christian Ullrich <chris@chrullrich.net>
2016-04-29 21:23 ` Re: [COMMITTERS] pgsql: Support building with Visual Studio 2015 Alvaro Herrera <alvherre@2ndquadrant.com>
0 siblings, 2 replies; 13+ messages in thread
From: Andrew Dunstan @ 2016-04-29 12:07 UTC (permalink / raw)
To: pgsql-committers
Support building with Visual Studio 2015
Adjust the way we detect the locale. As a result the minumum Windows
version supported by VS2015 and later is Windows Vista. Add some tweaks
to remove new compiler warnings. Remove documentation references to the
now obsolete msysGit.
Michael Paquier, somewhat edited by me, reviewed by Christian Ullrich.
Backpatch to 9.5
Branch
------
REL9_5_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/da52474f3d3cbdf38d8a6677a4ebedaf402ade3a
Modified Files
--------------
doc/src/sgml/install-windows.sgml | 29 +++++++++--------
src/backend/port/win32/crashdump.c | 14 ++++++++
src/bin/pg_basebackup/pg_basebackup.c | 9 ++++--
src/include/port/win32.h | 22 ++++++++++---
src/port/chklocale.c | 61 +++++++++++++++++++++++++++--------
src/port/win32env.c | 3 ++
src/tools/msvc/MSBuildProject.pm | 23 +++++++++++++
src/tools/msvc/Solution.pm | 26 +++++++++++++++
src/tools/msvc/VSObjectFactory.pm | 12 +++++--
9 files changed, 165 insertions(+), 34 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] 13+ messages in thread
* Re: pgsql: Support building with Visual Studio 2015
2016-04-29 12:07 pgsql: Support building with Visual Studio 2015 Andrew Dunstan <andrew@dunslane.net>
@ 2016-04-29 13:29 ` Christian Ullrich <chris@chrullrich.net>
2016-04-29 13:47 ` Re: pgsql: Support building with Visual Studio 2015 Andrew Dunstan <andrew@dunslane.net>
1 sibling, 1 reply; 13+ messages in thread
From: Christian Ullrich @ 2016-04-29 13:29 UTC (permalink / raw)
To: Andrew Dunstan <andrew@dunslane.net>; pgsql-committers; pgsql-hackers@postgresql.org
* Andrew Dunstan wrote:
> Support building with Visual Studio 2015
> http://git.postgresql.org/pg/commitdiff/da52474f3d3cbdf38d8a6677a4ebedaf402ade3a
inline patch 1: src/port/win32env.c (+3/-0 lines) download inline-1.patch
diff --git a/src/port/win32env.c b/src/port/win32env.c
index 7e4ff62..d6b0ebe 100644 (file)
--- a/src/port/win32env.c
+++ b/src/port/win32env.c
@@ -70,6 +70,9 @@ pgwin32_putenv(const char *envval)
"msvcr120", 0, NULL
}, /* Visual Studio 2013 */
{
+ "urctbase", 0, NULL
+ }, /* Visual Studio 2015 and later */
+ {
NULL, 0, NULL
}
};
s/urctbase/ucrtbase/
Sorry, I missed that this morning.
--
Christian
--
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] 13+ messages in thread
* Re: pgsql: Support building with Visual Studio 2015
2016-04-29 12:07 pgsql: Support building with Visual Studio 2015 Andrew Dunstan <andrew@dunslane.net>
2016-04-29 13:29 ` Re: pgsql: Support building with Visual Studio 2015 Christian Ullrich <chris@chrullrich.net>
@ 2016-04-29 13:47 ` Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Dunstan @ 2016-04-29 13:47 UTC (permalink / raw)
To: Christian Ullrich <chris@chrullrich.net>; pgsql-committers; pgsql-hackers@postgresql.org
On 04/29/2016 09:29 AM, Christian Ullrich wrote:
> * Andrew Dunstan wrote:
>
>> Support building with Visual Studio 2015
>> http://git.postgresql.org/pg/commitdiff/da52474f3d3cbdf38d8a6677a4ebedaf402ade3a
>>
>
> diff --git a/src/port/win32env.c b/src/port/win32env.c
> index 7e4ff62..d6b0ebe 100644 (file)
> --- a/src/port/win32env.c
> +++ b/src/port/win32env.c
> @@ -70,6 +70,9 @@ pgwin32_putenv(const char *envval)
> "msvcr120", 0, NULL
> }, /* Visual Studio 2013 */
> {
> + "urctbase", 0, NULL
> + }, /* Visual Studio 2015 and later */
> + {
> NULL, 0, NULL
> }
> };
>
> s/urctbase/ucrtbase/
>
> Sorry, I missed that this morning.
>
Oh, darn, thanks. Will fix.
cheers
andrew
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 13+ messages in thread
* Re: [COMMITTERS] pgsql: Support building with Visual Studio 2015
2016-04-29 12:07 pgsql: Support building with Visual Studio 2015 Andrew Dunstan <andrew@dunslane.net>
@ 2016-04-29 21:23 ` Alvaro Herrera <alvherre@2ndquadrant.com>
1 sibling, 0 replies; 13+ messages in thread
From: Alvaro Herrera @ 2016-04-29 21:23 UTC (permalink / raw)
To: Andrew Dunstan <andrew@dunslane.net>; +Cc: pgsql-hackers@postgresql.org; pgsql-committers
Andrew Dunstan wrote:
> Support building with Visual Studio 2015
>
> Adjust the way we detect the locale. As a result the minumum Windows
> version supported by VS2015 and later is Windows Vista. Add some tweaks
> to remove new compiler warnings. Remove documentation references to the
> now obsolete msysGit.
>
> Michael Paquier, somewhat edited by me, reviewed by Christian Ullrich.
Great team work here, kudos. You forgot to mention Petr Jelínek as
co-author in the credits.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 13+ messages in thread
* pgsql: Support building with Visual Studio 2015
@ 2016-04-29 12:09 Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Dunstan @ 2016-04-29 12:09 UTC (permalink / raw)
To: pgsql-committers
Support building with Visual Studio 2015
Adjust the way we detect the locale. As a result the minumum Windows
version supported by VS2015 and later is Windows Vista. Add some tweaks
to remove new compiler warnings. Remove documentation references to the
now obsolete msysGit.
Michael Paquier, somewhat edited by me, reviewed by Christian Ullrich.
Backpatch to 9.5
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/0fb54de9aa4ffb792ea63af853146021ae501f12
Modified Files
--------------
doc/src/sgml/install-windows.sgml | 29 +++++++++--------
src/backend/port/win32/crashdump.c | 14 ++++++++
src/bin/pg_basebackup/pg_basebackup.c | 9 ++++--
src/include/port/win32.h | 22 ++++++++++---
src/port/chklocale.c | 61 +++++++++++++++++++++++++++--------
src/port/win32env.c | 3 ++
src/tools/msvc/MSBuildProject.pm | 23 +++++++++++++
src/tools/msvc/Solution.pm | 26 +++++++++++++++
src/tools/msvc/VSObjectFactory.pm | 12 +++++--
9 files changed, 165 insertions(+), 34 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] 13+ messages in thread
* pgsql: Support building with Visual Studio 2017
@ 2017-09-25 12:09 Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Dunstan @ 2017-09-25 12:09 UTC (permalink / raw)
To: pgsql-committers
Support building with Visual Studio 2017
Haribabu Kommi, reviewed by Takeshi Ideriha and Christian Ullrich
Backpatch to 9.6
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f2ab3898f3a25ef431db4ea90a8d128b974dbffe
Modified Files
--------------
doc/src/sgml/install-windows.sgml | 16 +++++++++-------
src/tools/msvc/MSBuildProject.pm | 23 +++++++++++++++++++++++
src/tools/msvc/README | 13 +++++++------
src/tools/msvc/Solution.pm | 26 ++++++++++++++++++++++++++
src/tools/msvc/VSObjectFactory.pm | 13 +++++++++++++
5 files changed, 78 insertions(+), 13 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] 13+ messages in thread
* pgsql: Support building with Visual Studio 2017
@ 2017-09-25 12:09 Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Dunstan @ 2017-09-25 12:09 UTC (permalink / raw)
To: pgsql-committers
Support building with Visual Studio 2017
Haribabu Kommi, reviewed by Takeshi Ideriha and Christian Ullrich
Backpatch to 9.6
Branch
------
REL_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/99e90bac4f9f3bd8d7b285a6f4095c2089e09efe
Modified Files
--------------
doc/src/sgml/install-windows.sgml | 16 +++++++++-------
src/tools/msvc/MSBuildProject.pm | 23 +++++++++++++++++++++++
src/tools/msvc/README | 13 +++++++------
src/tools/msvc/Solution.pm | 26 ++++++++++++++++++++++++++
src/tools/msvc/VSObjectFactory.pm | 13 +++++++++++++
5 files changed, 78 insertions(+), 13 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] 13+ messages in thread
* pgsql: Support building with Visual Studio 2017
@ 2017-09-25 12:09 Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Dunstan @ 2017-09-25 12:09 UTC (permalink / raw)
To: pgsql-committers
Support building with Visual Studio 2017
Haribabu Kommi, reviewed by Takeshi Ideriha and Christian Ullrich
Backpatch to 9.6
Branch
------
REL9_6_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/10aafbdbe4224846095198644a1169807ab9b391
Modified Files
--------------
doc/src/sgml/install-windows.sgml | 16 +++++++++-------
src/tools/msvc/MSBuildProject.pm | 23 +++++++++++++++++++++++
src/tools/msvc/README | 13 +++++++------
src/tools/msvc/Solution.pm | 26 ++++++++++++++++++++++++++
src/tools/msvc/VSObjectFactory.pm | 13 +++++++++++++
5 files changed, 78 insertions(+), 13 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] 13+ messages in thread
* pgsql: Support building with Visual Studio 2017
@ 2018-09-11 20:11 Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Dunstan @ 2018-09-11 20:11 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Support building with Visual Studio 2017
Haribabu Kommi, reviewed by Takeshi Ideriha and Christian Ullrich
Backpatch to 9.6
Branch
------
REL9_5_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/f6c268c4894bba9d1bbc5338407febaaad0dbd04
Modified Files
--------------
doc/src/sgml/install-windows.sgml | 16 +++++++++-------
src/tools/msvc/MSBuildProject.pm | 23 +++++++++++++++++++++++
src/tools/msvc/README | 13 +++++++------
src/tools/msvc/Solution.pm | 26 ++++++++++++++++++++++++++
src/tools/msvc/VSObjectFactory.pm | 13 +++++++++++++
5 files changed, 78 insertions(+), 13 deletions(-)
^ permalink raw reply [nested|flat] 13+ messages in thread
* pgsql: Support building with Visual Studio 2015
@ 2018-09-11 20:11 Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Dunstan @ 2018-09-11 20:11 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Support building with Visual Studio 2015
Adjust the way we detect the locale. As a result the minumum Windows
version supported by VS2015 and later is Windows Vista. Add some tweaks
to remove new compiler warnings. Remove documentation references to the
now obsolete msysGit.
Michael Paquier, somewhat edited by me, reviewed by Christian Ullrich.
Rather belated backpatch to 9.4 and 9.3
Branch
------
REL9_4_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/9ca32a6ebc12d91a4df314e47bb1faf933e5bbb4
Modified Files
--------------
doc/src/sgml/install-windows.sgml | 29 +++++++++--------
src/backend/port/win32/crashdump.c | 14 ++++++++
src/bin/pg_basebackup/pg_basebackup.c | 9 ++++--
src/include/port/win32.h | 22 ++++++++++---
src/port/chklocale.c | 61 +++++++++++++++++++++++++++--------
src/port/win32env.c | 5 ++-
src/tools/msvc/MSBuildProject.pm | 23 +++++++++++++
src/tools/msvc/Solution.pm | 26 +++++++++++++++
src/tools/msvc/VSObjectFactory.pm | 12 +++++--
9 files changed, 166 insertions(+), 35 deletions(-)
^ permalink raw reply [nested|flat] 13+ messages in thread
* pgsql: Support building with Visual Studio 2017
@ 2018-09-11 20:11 Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Dunstan @ 2018-09-11 20:11 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Support building with Visual Studio 2017
Haribabu Kommi, reviewed by Takeshi Ideriha and Christian Ullrich
Now backpatched to 9.4 and 9.3
Branch
------
REL9_4_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/19acfd6528bcbf55ad996397177a1f2a16001c25
Modified Files
--------------
doc/src/sgml/install-windows.sgml | 16 +++++++++-------
src/tools/msvc/MSBuildProject.pm | 23 +++++++++++++++++++++++
src/tools/msvc/README | 13 +++++++------
src/tools/msvc/Solution.pm | 26 ++++++++++++++++++++++++++
src/tools/msvc/VSObjectFactory.pm | 13 +++++++++++++
5 files changed, 78 insertions(+), 13 deletions(-)
^ permalink raw reply [nested|flat] 13+ messages in thread
* pgsql: Support building with Visual Studio 2015
@ 2018-09-11 20:11 Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Dunstan @ 2018-09-11 20:11 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Support building with Visual Studio 2015
Adjust the way we detect the locale. As a result the minumum Windows
version supported by VS2015 and later is Windows Vista. Add some tweaks
to remove new compiler warnings. Remove documentation references to the
now obsolete msysGit.
Michael Paquier, somewhat edited by me, reviewed by Christian Ullrich.
Rather belated backpatch to 9.4 and 9.3
Branch
------
REL9_3_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/0482578328288220c01b3f38e55fd866f8351b25
Modified Files
--------------
doc/src/sgml/install-windows.sgml | 29 +++++++++--------
src/backend/port/win32/crashdump.c | 14 ++++++++
src/bin/pg_basebackup/pg_basebackup.c | 9 ++++--
src/include/port/win32.h | 22 ++++++++++---
src/port/chklocale.c | 61 +++++++++++++++++++++++++++--------
src/port/win32env.c | 5 ++-
src/tools/msvc/MSBuildProject.pm | 23 +++++++++++++
src/tools/msvc/Solution.pm | 26 +++++++++++++++
src/tools/msvc/VSObjectFactory.pm | 12 +++++--
9 files changed, 166 insertions(+), 35 deletions(-)
^ permalink raw reply [nested|flat] 13+ messages in thread
* pgsql: Support building with Visual Studio 2017
@ 2018-09-11 20:11 Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Dunstan @ 2018-09-11 20:11 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Support building with Visual Studio 2017
Haribabu Kommi, reviewed by Takeshi Ideriha and Christian Ullrich
Now backpatched to 9.4 and 9.3
Branch
------
REL9_3_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/48c978f3ed20961a69189eab2e26e0fa0f54986f
Modified Files
--------------
doc/src/sgml/install-windows.sgml | 16 +++++++++-------
src/tools/msvc/MSBuildProject.pm | 23 +++++++++++++++++++++++
src/tools/msvc/README | 13 +++++++------
src/tools/msvc/Solution.pm | 26 ++++++++++++++++++++++++++
src/tools/msvc/VSObjectFactory.pm | 13 +++++++++++++
5 files changed, 78 insertions(+), 13 deletions(-)
^ permalink raw reply [nested|flat] 13+ messages in thread
end of thread, other threads:[~2018-09-11 20:11 UTC | newest]
Thread overview: 13+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-04-29 12:07 pgsql: Support building with Visual Studio 2015 Andrew Dunstan <andrew@dunslane.net>
2016-04-29 13:29 ` Christian Ullrich <chris@chrullrich.net>
2016-04-29 13:47 ` Andrew Dunstan <andrew@dunslane.net>
2016-04-29 21:23 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2016-04-29 12:09 pgsql: Support building with Visual Studio 2015 Andrew Dunstan <andrew@dunslane.net>
2017-09-25 12:09 pgsql: Support building with Visual Studio 2017 Andrew Dunstan <andrew@dunslane.net>
2017-09-25 12:09 pgsql: Support building with Visual Studio 2017 Andrew Dunstan <andrew@dunslane.net>
2017-09-25 12:09 pgsql: Support building with Visual Studio 2017 Andrew Dunstan <andrew@dunslane.net>
2018-09-11 20:11 pgsql: Support building with Visual Studio 2017 Andrew Dunstan <andrew@dunslane.net>
2018-09-11 20:11 pgsql: Support building with Visual Studio 2015 Andrew Dunstan <andrew@dunslane.net>
2018-09-11 20:11 pgsql: Support building with Visual Studio 2017 Andrew Dunstan <andrew@dunslane.net>
2018-09-11 20:11 pgsql: Support building with Visual Studio 2015 Andrew Dunstan <andrew@dunslane.net>
2018-09-11 20:11 pgsql: Support building with Visual Studio 2017 Andrew Dunstan <andrew@dunslane.net>
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