projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7ef273
)
Ooops, should use double not single quotes in StaticAssertStmt().
author
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 3 Jan 2014 02:54:20 +0000
(21:54 -0500)
committer
Tom 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
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/postmaster/pgstat.c
b/src/backend/postmaster/pgstat.c
index d251fddc0b61110cb11e2e018578676ffea8f1f7..4bfa62e916271f3c8ce3e151b10872b95560f531 100644
(file)
--- 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