Skip to content

Commit 34c4dd5

Browse files
committed
clean re-apply of fa0ca21
1 parent c46eb22 commit 34c4dd5

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy