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

Commit34c4dd5

Browse files
committed
clean re-apply offa0ca21
1 parentc46eb22 commit34c4dd5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎multimaster.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4261,8 +4261,8 @@ Datum mtm_make_table_local(PG_FUNCTION_ARGS)
42614261
/* Form a tuple. */
42624262
memset(nulls, false,sizeof(nulls));
42634263

4264-
values[Anum_mtm_local_tables_rel_schema-1]=CStringGetTextDatum(schemaName);
4265-
values[Anum_mtm_local_tables_rel_name-1]=CStringGetTextDatum(tableName);
4264+
values[Anum_mtm_local_tables_rel_schema-1]=CStringGetDatum(schemaName);
4265+
values[Anum_mtm_local_tables_rel_name-1]=CStringGetDatum(tableName);
42664266

42674267
tup=heap_form_tuple(tupDesc,values,nulls);
42684268

‎pglogical_apply.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ process_remote_insert(StringInfo s, Relation rel)
871871
if (strcmp(RelationGetRelationName(rel),MULTIMASTER_LOCAL_TABLES_TABLE)==0&&
872872
strcmp(get_namespace_name(RelationGetNamespace(rel)),MULTIMASTER_SCHEMA_NAME)==0)
873873
{
874-
MtmMakeTableLocal(TextDatumGetCString(new_tuple.values[0]),TextDatumGetCString(new_tuple.values[1]));
874+
MtmMakeTableLocal((char*)DatumGetPointer(new_tuple.values[0]),(char*)DatumGetPointer(new_tuple.values[1]));
875875
}
876876

877877
ExecResetTupleTable(estate->es_tupleTable, true);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp