From 7a089f6e6a14ca3a5dc8822c393c6620279968b9 Mon Sep 17 00:00:00 2001 From: Amit Kapila Date: Fri, 21 Jun 2024 09:55:25 +0530 Subject: [PATCH] Doc: Generated columns are skipped for logical replication. Add a note in docs that generated columns are skipped for logical replication. Author: Peter Smith Reviewed-by: Peter Eisentraut Backpatch-through: 12 Discussion: https://postgr.es/m/CAHut+PuXb1GLQztQkoWzYjSwkAZZ0dgCJaAHyJtZF3kmtcL=kA@mail.gmail.com --- doc/src/sgml/ddl.sgml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml index 6aab79e901..9b71c97bdf 100644 --- a/doc/src/sgml/ddl.sgml +++ b/doc/src/sgml/ddl.sgml @@ -512,6 +512,12 @@ CREATE TABLE people ( generated columns in BEFORE triggers. + + + Generated columns are skipped for logical replication and cannot be + specified in a CREATE PUBLICATION column list. + +