Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUjE9-000149-Gn for pgsql-hackers@arkaria.postgresql.org; Sat, 02 May 2020 03:54:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jUjE5-0007q9-Ql for pgsql-hackers@arkaria.postgresql.org; Sat, 02 May 2020 03:54:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUjE5-0007pQ-Hy for pgsql-hackers@lists.postgresql.org; Sat, 02 May 2020 03:54:05 +0000 Received: from mail-ot1-x344.google.com ([2607:f8b0:4864:20::344]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jUjDy-000442-Pe for pgsql-hackers@lists.postgresql.org; Sat, 02 May 2020 03:54:05 +0000 Received: by mail-ot1-x344.google.com with SMTP id z17so4225588oto.4 for ; Fri, 01 May 2020 20:53:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/pYA/xu6bEsriDMw+kkJTxcTrRRqPLY86/lMQltExi0=; b=Rm8HGGZB0EArb472Csxe9Y1VmomDrRv1WlDm4RtthSei/hn/0DEGTRoNNO8gMeckiY QsRaWu36B1J7FstMtcs2LOEdWysT73q/Uv3Zalb2/P6xZuulmCGwMcEmFubIZd++KKcw B9FXQ2K9kCdIjk4E4/L+I4Jeru8DZdBP/z4/xiu+CekcIq7GgXLNRcVmN9A2Knquhj0j RqTw4A/s9jHTAIfuljVD5C2n6LV9QyA3kqbuG+Djl+H8DOsQCQ6EBtoXdeEc/2dE9L42 E8nZ737AEApWyH/k2nNGdqcZ/gnddmkq6EOmkrJZyHlcm45Bo3dw2xX8tqT9xNaxMLuR AE5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/pYA/xu6bEsriDMw+kkJTxcTrRRqPLY86/lMQltExi0=; b=NmJ/c3U46qwe36tnDFipdYvbmZgueG7Zatt0rU7+ulfPAjZyPUPoPLsMJXQ+dRbg53 TrnZ0/jlc3V2C3heUEEObYz0Fth0RLIORO+rHZiiujKG1Px/HiJroM0IgWm6Wk4wrkTG kHEBukf7fm7kHICyU3o3JIKEZzDrXuai2JIe06EnOFnPFURtD4tmtkAz7m2Ln+BpMGFq +oqwZfvJnvy27Ldce9koIw/m2dBklobZntl4m5pbTeanKgC5Vb09j1miCnJBhEWnaMH/ VSIjPcQ5hH/blCjJzzorEcTnJz7t1Q/quRLmoeWXUPOfOt4lZTbpC4jbZIXvuzhrw09B mo2g== X-Gm-Message-State: AGi0PuYwGUuBi96fGxeqKDh8Eoa/7LgK5xdSEbJVwMMdF+7HcfoZ48ek ZGa3ZC3HDj/0lJd9Pod5bhuKTHivJDQ/b13VBSA= X-Google-Smtp-Source: APiQypKwOItvg4OZmGblXAQ2XpJGPv3Zu3ji8B6VZrDSWnMy1h02MGdIzT0EuhatACaYEUpahwU1e16dCpq2lWwjo8o= X-Received: by 2002:a05:6830:1111:: with SMTP id w17mr5247760otq.325.1588391637157; Fri, 01 May 2020 20:53:57 -0700 (PDT) MIME-Version: 1.0 References: <20200409214947.GA22655@alvherre.pgsql> <20200415212414.GA23819@alvherre.pgsql> In-Reply-To: <20200415212414.GA23819@alvherre.pgsql> From: Thomas Munro Date: Sat, 2 May 2020 15:53:20 +1200 Message-ID: Subject: Re: pgsql: Rationalize GetWalRcv{Write,Flush}RecPtr(). To: Alvaro Herrera Cc: Thomas Munro , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, Apr 16, 2020 at 9:24 AM Alvaro Herrera wrote: > On 2020-Apr-09, Alvaro Herrera wrote: > > It seems worth pointing out that the new GetWalRcvWriteRecPtr function > > has a different signature from the original one -- so any third-party > > code using the original function will now get a compile failure that > > should alert them that they need to change their code to call > > GetWalRcvFlushRecPtr instead. Maybe we should add a line or two in the > > comments GetWalRcvWriteRecPtr to make this explicit. > > After using codesearch.debian.net and finding no results, I decided that > this is not worth the effort. Thanks for checking. Yeah, it looks like you're right. codesearch.debian.net is cool.