mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-17 11:03:36 +08:00
Fix build failure on PG12.0
Building against PG12.0 failed with test_utils.c:99:5: error: expected ‘;’ before ‘errmsg’ because the errmsg argument was not in parens.
This commit is contained in:
parent
35ea80ffdf
commit
d1ed09ce98
@ -6,6 +6,7 @@
|
||||
#include <postgres.h>
|
||||
#include <fmgr.h>
|
||||
#include <utils/builtins.h>
|
||||
#include <utils/elog.h>
|
||||
#include <storage/procarray.h>
|
||||
#include <storage/proc.h>
|
||||
#include <commands/dbcommands.h>
|
||||
@ -96,9 +97,9 @@ throw_after_n_rows(int max_rows, int severity)
|
||||
if (max_rows <= rows_seen)
|
||||
{
|
||||
ereport(severity,
|
||||
errmsg("debug point: requested to error out every %d rows, %d rows seen",
|
||||
max_rows,
|
||||
rows_seen));
|
||||
(errmsg("debug point: requested to error out every %d rows, %d rows seen",
|
||||
max_rows,
|
||||
rows_seen)));
|
||||
}
|
||||
|
||||
return rows_seen;
|
||||
|
Loading…
x
Reference in New Issue
Block a user