Adds compilation warning to test pipeline

pull/7341/head
gindibay 2023-11-13 10:31:54 +03:00
parent a81b8ac9f1
commit b5b86c054b
1 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,8 @@
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#warning "This is a compilation warning for testing purposes"
#include "postgres.h" #include "postgres.h"
#include "fmgr.h" #include "fmgr.h"
@ -1371,7 +1373,7 @@ CreateTableConversion(TableConversionParameters *params)
ereport(ERROR, (errmsg("cache lookup failed for access method %d", ereport(ERROR, (errmsg("cache lookup failed for access method %d",
relation->rd_rel->relam))); 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); con->originalAccessMethod = NameStr(amForm->amname);
ReleaseSysCache(amTuple); ReleaseSysCache(amTuple);
} }