Ooops, should use double not single quotes in StaticAssertStmt().

That's what I get for testing this on an older compiler.
This commit is contained in:
Tom Lane 2014-01-02 21:54:20 -05:00
parent a7ef273e1c
commit a3b4aeecfe
1 changed files with 1 additions and 1 deletions

View 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