@@ -1082,7 +1082,7 @@ get_publication_name(Oid pubid, bool missing_ok)
10821082Datum
10831083pg_get_publication_tables (PG_FUNCTION_ARGS )
10841084{
1085- #define NUM_PUBLICATOIN_TABLES_ELEM 3
1085+ #define NUM_PUBLICATION_TABLES_ELEM 3
10861086 FuncCallContext * funcctx ;
10871087 char * pubname = text_to_cstring (PG_GETARG_TEXT_PP (0 ));
10881088 Publication * publication ;
@@ -1139,7 +1139,7 @@ pg_get_publication_tables(PG_FUNCTION_ARGS)
11391139 }
11401140
11411141 /* Construct a tuple descriptor for the result rows. */
1142- tupdesc = CreateTemplateTupleDesc (NUM_PUBLICATOIN_TABLES_ELEM );
1142+ tupdesc = CreateTemplateTupleDesc (NUM_PUBLICATION_TABLES_ELEM );
11431143 TupleDescInitEntry (tupdesc , (AttrNumber ) 1 , "relid" ,
11441144 OIDOID , -1 , 0 );
11451145 TupleDescInitEntry (tupdesc , (AttrNumber ) 2 , "attrs" ,
@@ -1162,8 +1162,8 @@ pg_get_publication_tables(PG_FUNCTION_ARGS)
11621162 HeapTuple pubtuple = NULL ;
11631163 HeapTuple rettuple ;
11641164 Oid relid = list_nth_oid (tables , funcctx -> call_cntr );
1165- Datum values [NUM_PUBLICATOIN_TABLES_ELEM ];
1166- bool nulls [NUM_PUBLICATOIN_TABLES_ELEM ];
1165+ Datum values [NUM_PUBLICATION_TABLES_ELEM ];
1166+ bool nulls [NUM_PUBLICATION_TABLES_ELEM ];
11671167
11681168 /*
11691169 * Form tuple with appropriate data.
0 commit comments