From: Tom Lane Date: Fri, 3 Jan 2014 02:54:20 +0000 (-0500) Subject: Ooops, should use double not single quotes in StaticAssertStmt(). X-Git-Tag: REL9_4_BETA1~737 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a3b4aeecfe9870fd5895cf362cd1e92544ec885a;p=postgresql Ooops, should use double not single quotes in StaticAssertStmt(). That's what I get for testing this on an older compiler. --- diff --git a/src/backend/postmaster/pgstat.c b/src/backend/postmaster/pgstat.c index d251fddc0b..4bfa62e916 100644 --- a/src/backend/postmaster/pgstat.c +++ b/src/backend/postmaster/pgstat.c @@ -337,7 +337,7 @@ pgstat_init(void) * compile-time cross-check that we didn't. */ StaticAssertStmt(sizeof(PgStat_Msg) <= PGSTAT_MAX_MSG_SIZE, - 'maximum stats message size exceeds PGSTAT_MAX_MSG_SIZE'); + "maximum stats message size exceeds PGSTAT_MAX_MSG_SIZE"); /* * Create the UDP socket for sending and receiving statistic messages