File: gcc14

package info (click to toggle)
slony1-2 2.2.11-6
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 9,040 kB
  • sloc: ansic: 21,487; sh: 12,997; sql: 11,337; xml: 9,202; javascript: 6,409; perl: 2,829; yacc: 2,698; lex: 1,356; makefile: 738; awk: 24; lisp: 8
file content (11 lines) | stat: -rw-r--r-- 510 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/src/backend/slony1_funcs.c
+++ b/src/backend/slony1_funcs.c
@@ -2512,7 +2512,7 @@ getClusterStatus(Name cluster_name, int
 										SPI_getbinval(SPI_tuptable->vals[0], SPI_tuptable->tupdesc, 1, &isnull));
 		SPI_freetuptable(SPI_tuptable);
 		if (cs->localNodeId < 0)
-			elog(ERROR, "Slony-I: Node is uninitialized - cluster %s", DatumGetCString(cluster_name));
+			elog(ERROR, "Slony-I: Node is uninitialized - cluster %s", NameStr(*cluster_name));
 
 		/*
 		 * Initialize the currentXid to invalid