@@ -1082,7 +1082,7 @@ get_publication_name(Oid pubid, bool missing_ok)
1082
1082
Datum
1083
1083
pg_get_publication_tables (PG_FUNCTION_ARGS )
1084
1084
{
1085
- #define NUM_PUBLICATOIN_TABLES_ELEM 3
1085
+ #define NUM_PUBLICATION_TABLES_ELEM 3
1086
1086
FuncCallContext * funcctx ;
1087
1087
char * pubname = text_to_cstring (PG_GETARG_TEXT_PP (0 ));
1088
1088
Publication * publication ;
@@ -1139,7 +1139,7 @@ pg_get_publication_tables(PG_FUNCTION_ARGS)
1139
1139
}
1140
1140
1141
1141
/* Construct a tuple descriptor for the result rows. */
1142
- tupdesc = CreateTemplateTupleDesc (NUM_PUBLICATOIN_TABLES_ELEM );
1142
+ tupdesc = CreateTemplateTupleDesc (NUM_PUBLICATION_TABLES_ELEM );
1143
1143
TupleDescInitEntry (tupdesc , (AttrNumber ) 1 , "relid" ,
1144
1144
OIDOID , -1 , 0 );
1145
1145
TupleDescInitEntry (tupdesc , (AttrNumber ) 2 , "attrs" ,
@@ -1162,8 +1162,8 @@ pg_get_publication_tables(PG_FUNCTION_ARGS)
1162
1162
HeapTuple pubtuple = NULL ;
1163
1163
HeapTuple rettuple ;
1164
1164
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 ];
1167
1167
1168
1168
/*
1169
1169
* Form tuple with appropriate data.
0 commit comments