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.96) (envelope-from ) id 1vxyKr-00HJE8-0k for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Mar 2026 02:21:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vxyKp-00FPtW-0y for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Mar 2026 02:21:07 +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.96) (envelope-from ) id 1vxyKo-00FPtO-39 for pgsql-hackers@lists.postgresql.org; Thu, 05 Mar 2026 02:21:07 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vxyKm-00000000iQ7-2ywF for pgsql-hackers@lists.postgresql.org; Thu, 05 Mar 2026 02:21:06 +0000 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-8297310ce0aso789932b3a.2 for ; Wed, 04 Mar 2026 18:21:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772677263; x=1773282063; darn=lists.postgresql.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wbIdQONJlURK7FJXz0dKI5neuDlDWR4PbrMSw6a94nY=; b=ChfYwbcNPgV0MBMJRiZLF1bRnxVmc4iVGJsjEKF6OG70hqb1UHe/SEP43vpOChI+IK erb1hO2qrVi03rFE0u8iDuVhJwd4dLqwVcf9yBZTyfVHW5EBNa/RQMm+tK5jS1OBAerW au5F+n0O8pYla1mfCxV+wE4b75AbVpXGfYUgLuWoVxsbbPkbc3crB61366HxebLjgJLc RTjdelWMg8e31c8yYoImnbIdB+phi+7dpOlsB5vjeKI8bsRAKRIcodxVvs7rk1sicowe 9Kgs0IexaYlU4AxMiSF/pS1+udW06Gjfty8r0rfSGwkyouBwsxTCyANES5Ccm+3RLD8X oYrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772677263; x=1773282063; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=wbIdQONJlURK7FJXz0dKI5neuDlDWR4PbrMSw6a94nY=; b=RExBY1Ter8soTPf62hpdb2aEcmbk/V4N8nnsOkphJbL88tKiRPnFQ48hquvE1rX/pX ntRbrLxj+fEudCc4xlCdaWH9KGUJsGaKNDfxM2VsDvYIaNvzmZ7NnWkuulimeHb1lGqi Xs3cm1sql7G6RcTFyLRQcROSsnGZSzOLZq8wg7lgibqiwkWgoXMq8cUwSDd+OS75ONwE 3zSzrJ5UAgfa5iYRi4qbpCMJkpY52OSwNNEpZhKKqZME4RrxUR0DbymYA4wvafANbceN HhCXpRzNBqrnIfsY/tBPDfoZ+sH66/QJkkPIx44XX0vcXndmugp/u0Ujkio1x/RFyP/I B3hA== X-Forwarded-Encrypted: i=1; AJvYcCVE/2syGqKC4UDSzDzAJwFNieJpCr6Ix0OSQzRrRzAn/XRjWCw4xSm+HTlLnWhu4w5e5IYycHpwrPVdPgXr@lists.postgresql.org X-Gm-Message-State: AOJu0YyrW4XpBsD43gx9LkYWFXTX7P3v4v/xFLUEY7O/ygCDdSKBFJlM TG3BZoLXVa5yhTj+oMt5E4JfjGxY4aCQV1GHULfnqXtFZ+xhhLhKrrs4 X-Gm-Gg: ATEYQzyMecDjjVZBXXy9zRg+2FYKe7i9URADs4Uf3qeRP2Kffo5tlYs/nDi53F9POWf U+lPtlY8+yPicZQn2OvQltyw3xfxKMYToB3uevROowjl51sJxygTpAENpty+vrEoFZqv3cLc/Qi Ws47CgShxjSdGgHs3qpLNyd27JRIk742+eW+K3FX2fA2KlcaCrmon/+YS8HslRuC2c2Z03plSC3 o/SHqIVBq2KIwTGmKSx+rBroxHTJj0D/rwGsuQuOtLcxImd4Nj5Ll5TDnZmsHk9H8bDrBJb+R+f yDx0ucQGzitwVp96G60kDTzSPr/iEqWe5EBc/rd3aLdrkbu82kBbAxhpMxVilhKFSBhvNubOKIy UwUPDEmPtO4+8ptNmHn4e7em3SAdIhhU2GxhO8IaiOtX2tX8Cc7+5mj1kG+6+nMLzhLP+gGNUfp qpFTrUKtLyAa7zPyojLN0ko7pAS+XzGWw= X-Received: by 2002:a05:6a20:2d0e:b0:394:857c:7f41 with SMTP id adf61e73a8af0-3982ddb93e0mr3939916637.11.1772677262908; Wed, 04 Mar 2026 18:21:02 -0800 (PST) Received: from smtpclient.apple ([45.32.121.103]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c70fa5ea0dcsm17183803a12.3.2026.03.04.18.21.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Mar 2026 18:21:02 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.400.21\)) Subject: Re: doc: add note that wal_level=logical doesn't set up logical replication in itself From: Chao Li In-Reply-To: <093b33a0-6862-4b78-b778-d54e29175c7e@app.fastmail.com> Date: Thu, 5 Mar 2026 10:20:22 +0800 Cc: Florents Tselai , Masahiko Sawada , pgsql-hackers Content-Transfer-Encoding: quoted-printable Message-Id: References: <32478450-80EC-4C55-9C80-35BEFB62060E@gmail.com> <093b33a0-6862-4b78-b778-d54e29175c7e@app.fastmail.com> To: Euler Taveira X-Mailer: Apple Mail (2.3864.400.21) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Mar 4, 2026, at 22:11, Euler Taveira wrote: >=20 > On Wed, Mar 4, 2026, at 8:34 AM, Florents Tselai wrote: >>=20 >> + logical adds information necessary to = support >> + logical = replication, which >> + relies on logical decoding. Each level includes the = information logged >> + at all lower levels. >>=20 >=20 > I'm not opposed to this idea. However, I would like to point out that >=20 > 1) "replication" is mentioned for _replica_ which can introduce some = confusion > if we add "logical replication". Maybe it is a good idea to change the = sentence > below from "replication" to "physical replication". >=20 >> The default value is replica, which writes enough data to support WAL >> archiving and replication I agree with the point. But I think =E2=80=9Cstreaming replication=E2=80=9D= is more common: =E2=80=9Cto support WAL archiving and streaming = replication=E2=80=9D. >=20 > 2) There is no link to the sentence above. If you add a link to the = logical > replication section, I would suggest to add a link to the other cases = (WAL > archiving, physical replication) too. >=20 I have no objection on updating other docs, but I don=E2=80=99t consider = that is a must for the current patch. As Tom mentioned in the other = thread, there have been already a lot of inconsistencies, we cannot = expect all docs written from a single pen. > 3) If we are using "logical replication", should we mention "logical = decoding"? > The Logical Replication chapter mentions the use of logical decoding = in the > Architecture section. >=20 IMO, we should. Because the option actually enables =E2=80=9Clogical = decoding=E2=80=9D that is required by logical replication. So, we = mention logical replication in the first place, and to not lose the = info, mention =E2=80=9Clogical decoding=E2=80=9D in the second place. >>=20 >> Something like: >> Note that setting this parameter only enables the required WAL = format;=20 >> it does not configure logical replication by itself. >>=20 >=20 > I don't think such note should be added. If the DBA doesn't know how = to setup > logical replication, it should read the Logical Replication chapter. >=20 Agreed. Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/