mirror of
https://github.com/debezium/postgres-decoderbufs.git
synced 2026-02-04 06:56:22 +00:00
Changed output table to only use table name and exclude the schema
This commit is contained in:
@@ -417,9 +417,7 @@ static void pg_decode_change(LogicalDecodingContext *ctx, ReorderBufferTXN *txn,
|
||||
/* set common fields */
|
||||
rmsg.commit_time = TIMESTAMPTZ_TO_USEC_SINCE_EPOCH(txn->commit_time);
|
||||
rmsg.has_commit_time = true;
|
||||
rmsg.table = quote_qualified_identifier(
|
||||
get_namespace_name(get_rel_namespace(RelationGetRelid(relation))),
|
||||
NameStr(class_form->relname));
|
||||
rmsg.table = pstrdup(NameStr(class_form->relname));
|
||||
|
||||
/* decode different operation types */
|
||||
switch (change->action) {
|
||||
|
||||
Reference in New Issue
Block a user