mirror of https://github.com/citusdata/citus.git
Normalize PG18 error messages by removing subscription prefix and connection failure details
Improve logical replication connection-failure messages. 0d8bd0a72ea284ffb1d1154efbe799241cc5edc6pull/8326/head
parent
b2356f1c85
commit
216ce4efbc
|
|
@ -379,3 +379,9 @@ s/\<is referenced from table\>/is still referenced from table/g
|
|||
# EXPLAIN (PG18+): hide Materialize storage instrumentation
|
||||
# this rule can be removed when PG18 is the minimum supported version
|
||||
/^[ \t]*Storage:[ \t].*$/d
|
||||
|
||||
# PG18: drop 'subscription "<name>"' prefix
|
||||
# this rule can be removed when PG18 is the minimum supported version
|
||||
s/^[[:space:]]*ERROR:[[:space:]]+subscription "[^"]+" could not connect to the publisher:[[:space:]]*/ERROR: could not connect to the publisher: /I
|
||||
# PG18: drop verbose 'connection to server … failed:' preamble
|
||||
s/^[[:space:]]*ERROR:[[:space:]]+could not connect to the publisher:[[:space:]]*connection to server .* failed:[[:space:]]*/ERROR: could not connect to the publisher: /I
|
||||
|
|
|
|||
Loading…
Reference in New Issue