pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Craig Ringer <craig@2ndquadrant.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Andres Freund <andres@anarazel.de>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: OK, so culicidae is *still* broken
Date: Mon, 01 May 2017 00:53:49 -0400
Message-ID: <27354.1493614429@sss.pgh.pa.us> (raw)
In-Reply-To: <CAA4eK1+mFi00J7=BDcy+gZO=wTc0AM=f3yyW0kf2ETLz1_5kGA@mail.gmail.com>
References: <4180.1492292046@sss.pgh.pa.us>
	<CAA4eK1KCbLtpG1qPMCN2orHsHhxkrL+UL9amZBeRfJ6XeA3iPg@mail.gmail.com>
	<6309.1492611331@sss.pgh.pa.us>
	<20170419153151.y5bfp4kdo377ycps@alap3.anarazel.de>
	<CAA4eK1LFuxqWg8Jo5yjjn9rneG748Hb8V_HRmi+C0j7fp18qFQ@mail.gmail.com>
	<20170420192500.gaagaaopc2kjmort@alap3.anarazel.de>
	<CAA4eK1JA01c_K7hkLc0Ftxba63iSh_1o7n8gqaFG0SZTkd_gOg@mail.gmail.com>
	<CAMsr+YH9qEJ7U8Fmv+K9BbFxd34Trd64MoaKT8iKMQYobd_nHg@mail.gmail.com>
	<20170424180848.gxaw44jwag7doqz5@alap3.anarazel.de>
	<1784.1493059391@sss.pgh.pa.us>
	<20170424185029.xm5yjkrifajcmmco@alap3.anarazel.de>
	<bec16500-e944-f438-c277-7176b5c53a70@iki.fi>
	<CAMsr+YGheQvzySZ-DGCLU_qU_yf4NGpCkbiVt_nv5OvcSa5U_Q@mail.gmail.com>
	<CAMsr+YG==sYy6sHkgc_q3ahcuPMGfQRhpU2-V114VCCynSSUCg@mail.gmail.com>
	<15162.1493129233@sss.pgh.pa.us>
	<CAA4eK1+mFi00J7=BDcy+gZO=wTc0AM=f3yyW0kf2ETLz1_5kGA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Amit Kapila <amit.kapila16@gmail.com> writes:
> Yeah, that's right.  Today, I have spent some time to analyze how and
> where retry logic is required.  I think there are two places where we
> need this retry logic, one is if we fail to reserve the memory
> (pgwin32_ReserveSharedMemoryRegion) and second is if we fail to
> reattach (PGSharedMemoryReAttach).

I'm not following.  The point of the reserve operation is to ensure
that the reattach will work.  What makes you think we need to add more
code at that end?

			regards, tom lane


-- 
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 (35+ messages)  latest in thread

Message-ID: <27354.1493614429@sss.pgh.pa.us>
Permalink:  ../27354.1493614429@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27354.1493614429@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, amit.kapila16@gmail.com, craig@2ndquadrant.com, hlinnaka@iki.fi, andres@anarazel.de
  Subject: Re: OK, so culicidae is *still* broken
  In-Reply-To: <27354.1493614429@sss.pgh.pa.us>

* 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