Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qyD9z-006r2t-MI for pgsql-www@arkaria.postgresql.org; Wed, 01 Nov 2023 15:29:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qyD9y-007fs0-E6 for pgsql-www@arkaria.postgresql.org; Wed, 01 Nov 2023 15:29:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qyD9x-007frs-UX for pgsql-www@lists.postgresql.org; Wed, 01 Nov 2023 15:29:34 +0000 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qyD9u-004BKe-O5 for pgsql-www@lists.postgresql.org; Wed, 01 Nov 2023 15:29:33 +0000 Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-28035cf6a30so3142748a91.3 for ; Wed, 01 Nov 2023 08:29:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hagander.net; s=mail; t=1698852568; x=1699457368; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=LyIlBhlhNxmhORQnl2yVJ/rd05nnahxIaBDPO1y/E88=; b=IXc1bO6DO3lsiKz6g/+V7iT+rrRevU1wWcxDpSZA3KvRG02A9CZVRkGM0HYS2U97d5 tIA9YPUV7e3MzgfNaMWAB03S8fW//TFveuvBm+lRFBYPv0KRgUPRNfOJEwsQc5TqHxyp 1BFPtH4D+rJsZ8rfEY+E8KsPvGPRf+0uQEx4NIgrnlCfO9QrXY5TE1OztFBR1PsqQogs uIRpy51FPFhMKfq5NY9t+PS2i5D2AoFuwqedCvPZvA9DY4yYOPvTPtSkEbNCyM9oVmcY e58h40FBgPuUm+2jzHAtD42ZJlgH8kSZAjZ45gyaMcPR0PUbozyuI89FgX2SNxsYxgxY 0IYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698852568; x=1699457368; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LyIlBhlhNxmhORQnl2yVJ/rd05nnahxIaBDPO1y/E88=; b=VoyZHzHSgY/AfJLmXuadABpi9wsR/324vxpXvnUTrc7PkghaoeFRwscEzQuzVbJcdN fSNyYALhcucgRXIMHWryPRvkCxoAsw1AS7uZTsKGuzRX8WaLercgWzfDEeY3DRlr8/NW P6+1Ul7RpEH+EeIS+KDmzXNVF5SlVvDOZHdURA//HH1felneH3uJnfSaiMQul+3oHGKa PV0tb9UhKW6H0w6u6tps+zy8vDlF+lnH7LptRX3JFb2BhXraOGFrofaYcuSZd1AnfW7b IisDg2P49X5I1eN+i6+jljbkN0WRJLgNMhx60q8jySeoUe3kpTS+Bm3BtayE2ulZIiaw eN3Q== X-Gm-Message-State: AOJu0YyAgL02RohWEZHtBzxZ6e7uXvS/Ip1VB8cKRbQO7ux4H7+ZILwD U1LWTQ0d9zjG4LB+CiLGYzadKqvXfzpmZZ/BewnYvw== X-Google-Smtp-Source: AGHT+IEXXf90NFnpiHGUW9ECXv57eWmEAkMqhvNNBY/kmRrXDCeZSDpx7XTZptl66RE7Sfzm/ciUkKczqkTCbY+R53M= X-Received: by 2002:a17:90b:e0d:b0:280:a252:d91b with SMTP id ge13-20020a17090b0e0d00b00280a252d91bmr4105412pjb.15.1698852567826; Wed, 01 Nov 2023 08:29:27 -0700 (PDT) MIME-Version: 1.0 References: <13f1b001-bd4e-4808-8e1a-07fe7861559f@cmatte.me> In-Reply-To: <13f1b001-bd4e-4808-8e1a-07fe7861559f@cmatte.me> From: Magnus Hagander Date: Wed, 1 Nov 2023 16:29:11 +0100 Message-ID: Subject: Re: pgarchives: issue (?) when responding to a message on another list To: =?UTF-8?Q?C=C3=A9lestin_Matte?= Cc: pgsql-www@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi! Apologies - I remember seeing the original one, and I thought I had actually answered it. Yes, this is entirely by design, so your analysis is correct. //Magnus On Tue, Oct 31, 2023 at 7:23=E2=80=AFPM C=C3=A9lestin Matte wrote: > > Ping on this as I'd like to know if I should deploy as-is. Is this expect= ed behaviour that responses on list B to a message originally on list A get= archived on both lists? > > On 19/10/2023 19:36, C=C3=A9lestin Matte wrote: > > I've fixed the issue with primary keys listed in another thread [1] and= now encounter a strange behaviour when testing: responding to a message on= a different list than the original recipient list saves this message in bo= th lists' archives (it is saved in the database once, but appears on both l= ists). I'm now wondering if this is expected behaviour or a problem in my f= ix or install. > > Given that messages belong to threads (and not lists), which can belong= to several lists, I guess this is the intended behaviour. > > > > This use case happens for instance when a user responds to a message po= sted in an *-announce list to a more general list. In such case, it is inap= propriate to archive the message in the more restricted *-announce list. > > I've looked for an example in postgresql archives to see if this happen= s in the deployment for postgresql but haven't managed to find one as it's = pretty rare. > > > > [1]: https://www.postgresql.org/message-id/CABUevExzjRo-=3D9Hg4CDdnGHuQ= B1L6uAwekni0mz-1CECaMcGZA@mail.gmail.com > > -- > C=C3=A9lestin Matte > >