Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bndVQ-0002Sf-0L for pgsql-hackers@arkaria.postgresql.org; Sat, 24 Sep 2016 03:20:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bndVO-0002e5-Bf for pgsql-hackers@arkaria.postgresql.org; Sat, 24 Sep 2016 03:19:58 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bndVN-0002dP-1K for pgsql-hackers@postgresql.org; Sat, 24 Sep 2016 03:19:57 +0000 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bndVK-0005Fm-3X for pgsql-hackers@postgresql.org; Sat, 24 Sep 2016 03:19:55 +0000 Received: by mail-wm0-x233.google.com with SMTP id w84so62238138wmg.1 for ; Fri, 23 Sep 2016 20:19:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ifH320+ehpu8ow+VlVjx45pmJG+4a//rPqEty7VuFF0=; b=AfSJrN0N/D9LfpLpMzxyBowsKROmgTEnoxXrSsyyAQjtirLHxchR0Ke4BDdH36PBVd n1YryeQ99MxbL/CiI/Wkp+dwmW9AtMDvwuVU3YcFzQC9mSFYyaDdtQUBhrohQGNYJrgy zhe7Z4xA385k54LG7p9Q8P4IVLg1edxtyswlRz1YV4dQ+gzWwubphd9tDtqVXiiC+WxC ZrCLPEv0FAWGZpf3vXW2vm8b69MWKizXIRpOf9iDXh/9hhma/cIIMMqJLS77Bw/43sAS wjKYyf6b+Lwcz2Nq8nr3snQ2pLBFwFfEpE1Qygfwl7UTuvPSGzKufOAH9ZMhi8yicZiJ la1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ifH320+ehpu8ow+VlVjx45pmJG+4a//rPqEty7VuFF0=; b=Mi1IbL01rh5+l+JTzHpOd22z8RbhoAMxuinYHsSFlHr1roVMUv5qYcPH+95fG2R2vo 5F6yIYB+5reMMXtt5HT8nvpFc2YEy3iaQQk/SuvZVWCNGGBrEBCHOgPm0o7jSxxLbVGa GPRJc9gAP+hvxQ4+Lzj8Tq9NozNvvLYUQ0IwTszQEsv4vKfJOFZHITAsdFvOH2EvYsTV v9YhaCI0tUYVczbFzaE4BmQHh/QBvg9AwV/3sJ7oWXcXwcYYBN0m91KBsOt2IuszdYbT 4iJrWqw8ZqlM+P5YO5fUSP/a3yeQeDIhQQo0mF/1ZLay0WLeiFpcWc/nJJ1ZLfDclnKy LhyA== X-Gm-Message-State: AA6/9Rn2rIYxaeN9Ecik/FC2XZFRn3EAf0n7Up6FdB+y+3i7104tDQqclyXDw8LuKkrXToKHXo4Mlp1JMMqwaA== X-Received: by 10.28.22.6 with SMTP id 6mr5768407wmw.55.1474687192288; Fri, 23 Sep 2016 20:19:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.22.196 with HTTP; Fri, 23 Sep 2016 20:19:51 -0700 (PDT) In-Reply-To: <12624.1474639902@sss.pgh.pa.us> References: <1444920387.3661.7.camel@postgrespro.ru> <1444921511.3661.13.camel@postgrespro.ru> <31461.1445090619@sss.pgh.pa.us> <20811.1474390987@sss.pgh.pa.us> <29726.1474564208@sss.pgh.pa.us> <12624.1474639902@sss.pgh.pa.us> From: Amit Kapila Date: Sat, 24 Sep 2016 08:49:51 +0530 Message-ID: Subject: =?UTF-8?Q?Re=3A_=5BHACKERS=5D_Re=3A_=5BHACKERS=5D_Re=3A_=5BHACKERS=5D_Re=3A_=5BHACKE?= =?UTF-8?Q?RS=5D_Re=3A_=5BHACKERS=5D_Re=3A_=5BHACKERS=5D_Re=3A_=5BHACKERS=5D_Windows_servic?= =?UTF-8?Q?e_is_not_starting_so_there=E2=80=99s_message_in_log=3A_FATAL=3A_=22could?= =?UTF-8?Q?_not_create_shared_memory_segment_=E2=80=9CGlobal=2FPostgreSQL=2E85140?= =?UTF-8?Q?1618=E2=80=9D=3A_Permission_denied=E2=80=9D?= To: Tom Lane Cc: Robert Haas , Michael Paquier , Haribabu Kommi , Dmitry Vasilyev , pgsql-hackers Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Fri, Sep 23, 2016 at 7:41 PM, Tom Lane wrote: > Amit Kapila writes: >> Now, it is quite possible >> that error code is set to 0 on success in my windows environment >> (Win7) and doesn't work in some other environment. In any case, if we >> want to go ahead and don't want to rely on CreateFileMapping(), then >> attached patch should suffice the need. > > Yeah, seeing that this is not mentioned in MS' documentation I don't > think we should rely on it. The patch looks fine to me, pushed. > Thanks. -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers