diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2021-02-17 11:24:46 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2021-02-17 11:33:25 +0100 |
commit | 0e392fcc0d5ab73c81d9284e7dda5acbb7ad6d21 (patch) | |
tree | be7ce5174e2fe8f180c5853834066edc10666cbb /src/backend/commands/subscriptioncmds.c | |
parent | e6b8e83b9f012cfbb3a2f96a7d2e74aebd299d4e (diff) | |
download | postgresql-0e392fcc0d5ab73c81d9284e7dda5acbb7ad6d21.tar.gz postgresql-0e392fcc0d5ab73c81d9284e7dda5acbb7ad6d21.zip |
Use errmsg_internal for debug messages
An inconsistent set of debug-level messages was not using
errmsg_internal(), thus uselessly exposing the messages to translation
work. Fix those.
Diffstat (limited to 'src/backend/commands/subscriptioncmds.c')
-rw-r--r-- | src/backend/commands/subscriptioncmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/subscriptioncmds.c b/src/backend/commands/subscriptioncmds.c index e5ae4534ae4..bfd3514546a 100644 --- a/src/backend/commands/subscriptioncmds.c +++ b/src/backend/commands/subscriptioncmds.c @@ -647,7 +647,7 @@ AlterSubscription_refresh(Subscription *sub, bool copy_data) copy_data ? SUBREL_STATE_INIT : SUBREL_STATE_READY, InvalidXLogRecPtr); ereport(DEBUG1, - (errmsg("table \"%s.%s\" added to subscription \"%s\"", + (errmsg_internal("table \"%s.%s\" added to subscription \"%s\"", rv->schemaname, rv->relname, sub->name))); } } @@ -721,7 +721,7 @@ AlterSubscription_refresh(Subscription *sub, bool copy_data) } ereport(DEBUG1, - (errmsg("table \"%s.%s\" removed from subscription \"%s\"", + (errmsg_internal("table \"%s.%s\" removed from subscription \"%s\"", get_namespace_name(get_rel_namespace(relid)), get_rel_name(relid), sub->name))); |