aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/cache/relcache.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2025-01-28 10:42:46 +0530
committerAmit Kapila <akapila@postgresql.org>2025-01-28 10:42:46 +0530
commit75eb9766ec201b62f264554019757716093e2a2f (patch)
tree180098e8ce3a3be50dd9029b1cc157e19cf8c7ad /src/backend/utils/cache/relcache.c
parent30a6ed0ce4bb18212ec38cdb537ea4b43bc99b83 (diff)
downloadpostgresql-75eb9766ec201b62f264554019757716093e2a2f.tar.gz
postgresql-75eb9766ec201b62f264554019757716093e2a2f.zip
Rename pubgencols_type to pubgencols in pg_publication.
The column added in commit e65dbc9927, pubgencols_type, was inconsistent with the naming conventions of other columns in the pg_publication catalog. Author: Vignesh C <vignesh21@gmail.com> Reviewed-by: Amit Kapila <amit.kapila16@gmail.com> Reviewed-by: Peter Smith <smithpb2250@gmail.com> Discussion: https://postgr.es/m/CALDaNm1u-ufVOW-RUsXSooqzkpohxfZYy=z78fbcr_9Pq5hbCg@mail.gmail.com
Diffstat (limited to 'src/backend/utils/cache/relcache.c')
-rw-r--r--src/backend/utils/cache/relcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/cache/relcache.c b/src/backend/utils/cache/relcache.c
index ee39d085ebe..43219a9629c 100644
--- a/src/backend/utils/cache/relcache.c
+++ b/src/backend/utils/cache/relcache.c
@@ -5820,7 +5820,7 @@ RelationBuildPublicationDesc(Relation relation, PublicationDesc *pubdesc)
if ((pubform->pubupdate || pubform->pubdelete) &&
pub_contains_invalid_column(pubid, relation, ancestors,
pubform->pubviaroot,
- pubform->pubgencols_type,
+ pubform->pubgencols,
&invalid_column_list,
&invalid_gen_col))
{