Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit52b5c53

Browse files
committed
Fix typo in pg_publication.c
Author: Peter SmithDiscussion:https://postgr.es/m/CAHut+PuV2XXjC4spHXy_EOhpD6MDrmmDMWnVJLYpd1_P=2+mJw@mail.gmail.com
1 parent41a2b56 commit52b5c53

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/backend/catalog/pg_publication.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ get_publication_name(Oid pubid, bool missing_ok)
10821082
Datum
10831083
pg_get_publication_tables(PG_FUNCTION_ARGS)
10841084
{
1085-
#defineNUM_PUBLICATOIN_TABLES_ELEM3
1085+
#defineNUM_PUBLICATION_TABLES_ELEM3
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
HeapTuplepubtuple=NULL;
11631163
HeapTuplerettuple;
11641164
Oidrelid=list_nth_oid(tables,funcctx->call_cntr);
1165-
Datumvalues[NUM_PUBLICATOIN_TABLES_ELEM];
1166-
boolnulls[NUM_PUBLICATOIN_TABLES_ELEM];
1165+
Datumvalues[NUM_PUBLICATION_TABLES_ELEM];
1166+
boolnulls[NUM_PUBLICATION_TABLES_ELEM];
11671167

11681168
/*
11691169
* Form tuple with appropriate data.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp