]> granicus.if.org Git - postgresql/commitdiff
Ooops, should use double not single quotes in StaticAssertStmt().
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Jan 2014 02:54:20 +0000 (21:54 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Jan 2014 02:54:20 +0000 (21:54 -0500)
That's what I get for testing this on an older compiler.

src/backend/postmaster/pgstat.c

index d251fddc0b61110cb11e2e018578676ffea8f1f7..4bfa62e916271f3c8ce3e151b10872b95560f531 100644 (file)
@@ -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