From b5b86c054bab331e225113e0eca57665a65aa67d Mon Sep 17 00:00:00 2001 From: gindibay Date: Mon, 13 Nov 2023 10:31:54 +0300 Subject: [PATCH] Adds compilation warning to test pipeline --- src/backend/distributed/commands/alter_table.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/backend/distributed/commands/alter_table.c b/src/backend/distributed/commands/alter_table.c index 9fe799957..971ee98d7 100644 --- a/src/backend/distributed/commands/alter_table.c +++ b/src/backend/distributed/commands/alter_table.c @@ -24,6 +24,8 @@ *------------------------------------------------------------------------- */ +#warning "This is a compilation warning for testing purposes" + #include "postgres.h" #include "fmgr.h" @@ -1371,7 +1373,7 @@ CreateTableConversion(TableConversionParameters *params) ereport(ERROR, (errmsg("cache lookup failed for access method %d", relation->rd_rel->relam))); } - Form_pg_amx amForm = (Form_pg_am) GETSTRUCT(amTuple); + Form_pg_am amForm = (Form_pg_am) GETSTRUCT(amTuple); con->originalAccessMethod = NameStr(amForm->amname); ReleaseSysCache(amTuple); }