pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael.paquier@gmail.com>
To: Christian Ullrich <chris@chrullrich.net>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Noah Misch <noah@leadboat.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Magnus Hagander <magnus@hagander.net>
Subject: Re: pgsql: Add putenv support for msvcrt from Visual Studio 2013
Date: Thu, 1 Dec 2016 06:07:16 +0900
Message-ID: <CAB7nPqRRL0DJPmXZMvsGf5avo3Sm_zVCbrPi_LOJtu1eBRexag@mail.gmail.com> (raw)
In-Reply-To: <DB6PR0602MB29818313F0C5DCD2C7C65DDED48C0@DB6PR0602MB2981.eurprd06.prod.outlook.com>
References: <E1atXIK-0003un-G0@gemulon.postgresql.org>
	<b0c66170-5711-20dd-2de3-408429ca0f48@chrullrich.net>
	<CABUevEzicpYAUOF9ZHkee1-c-gvokKAmr708sqta4H71bOZOWQ@mail.gmail.com>
	<34dd7956-3324-0305-288d-edc7d56fba76@chrullrich.net>
	<571E6D90.7050903@dunslane.net>
	<9d5c6a49-774c-44de-83fc-65c5b431f8d9@chrullrich.net>
	<2c5f9472-d0cc-df61-78e3-bc48909ffb59@chrullrich.net>
	<784524b2-bd50-1f5e-dad9-f8840f97753a@chrullrich.net>
	<20161116072246.GA2297058@tornado.leadboat.com>
	<DB6PR0602MB2981431251C29DBAB293A6CAD4BE0@DB6PR0602MB2981.eurprd06.prod.outlook.com>
	<CAB7nPqQctCCw+FjAVn72KkPGExEyFmR6R8rAznr6i78Gjw=HPw@mail.gmail.com>
	<f8fef181-ef6b-2b9b-7038-23849c9f6a73@chrullrich.net>
	<CAB7nPqStLLt9k2SQj_gVhRfbCYUpAUz5OFYu2yeVa_x3na2E6w@mail.gmail.com>
	<DB6PR0602MB29818313F0C5DCD2C7C65DDED48C0@DB6PR0602MB2981.eurprd06.prod.outlook.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On Thu, Dec 1, 2016 at 1:24 AM, Christian Ullrich <chris@chrullrich.net> wrote:
> * From: Michael Paquier
>
>> With 0005 I am seeing a compilation failure: you need to have the
>> declarations in the _MSC_VER block at the beginning of the routine. It
>
> Sorry, too used to C++.
>
>> would be nice to mention in a code comment that this what Noah has
>> mentioned upthread: if a CRT loads while pgwin32_putenv() is
>> executing, the newly-loaded CRT will always have the latest value.
>
> I fixed the existing comment by removing the last sentence that is in the wrong place now, but I don't see the point in suddenly starting to explain why it is done this way and not the other.
>
>> Based on that 0006 will need a rebase, nothing huge though.
>
> Done, new revisions attached.

Okay, switched as ready for committer.
-- 
Michael


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



view thread (30+ messages)  latest in thread

Message-ID: <CAB7nPqRRL0DJPmXZMvsGf5avo3Sm_zVCbrPi_LOJtu1eBRexag@mail.gmail.com>
Permalink:  ../CAB7nPqRRL0DJPmXZMvsGf5avo3Sm_zVCbrPi_LOJtu1eBRexag@mail.gmail.com/
Also on:    postgresql.org/message-id/CAB7nPqRRL0DJPmXZMvsGf5avo3Sm_zVCbrPi_LOJtu1eBRexag@mail.gmail.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-committers@postgresql.org
  Cc: michael.paquier@gmail.com, chris@chrullrich.net, pgsql-hackers@postgresql.org, noah@leadboat.com, andrew@dunslane.net, magnus@hagander.net
  Subject: Re: pgsql: Add putenv support for msvcrt from Visual Studio 2013
  In-Reply-To: <CAB7nPqRRL0DJPmXZMvsGf5avo3Sm_zVCbrPi_LOJtu1eBRexag@mail.gmail.com>
  References: <E1atXIK-0003un-G0@gemulon.postgresql.org> <b0c66170-5711-20dd-2de3-408429ca0f48@chrullrich.net> <CABUevEzicpYAUOF9ZHkee1-c-gvokKAmr708sqta4H71bOZOWQ@mail.gmail.com> <34dd7956-3324-0305-288d-edc7d56fba76@chrullrich.net> <571E6D90.7050903@dunslane.net> <9d5c6a49-774c-44de-83fc-65c5b431f8d9@chrullrich.net> <2c5f9472-d0cc-df61-78e3-bc48909ffb59@chrullrich.net> <784524b2-bd50-1f5e-dad9-f8840f97753a@chrullrich.net> <20161116072246.GA2297058@tornado.leadboat.com> <DB6PR0602MB2981431251C29DBAB293A6CAD4BE0@DB6PR0602MB2981.eurprd06.prod.outlook.com> <CAB7nPqQctCCw+FjAVn72KkPGExEyFmR6R8rAznr6i78Gjw=HPw@mail.gmail.com> <f8fef181-ef6b-2b9b-7038-23849c9f6a73@chrullrich.net> <CAB7nPqStLLt9k2SQj_gVhRfbCYUpAUz5OFYu2yeVa_x3na2E6w@mail.gmail.com> <DB6PR0602MB29818313F0C5DCD2C7C65DDED48C0@DB6PR0602MB2981.eurprd06.prod.outlook.com> <CAB7nPqRRL0DJPmXZMvsGf5avo3Sm_zVCbrPi_LOJtu1eBRexag@mail.gmail.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