mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Make libpqsrv_cancel's return const char *, not char *
Per headerscheck's C++ check. Discussion: https://postgr.es/m/372769.1712179784@sss.pgh.pa.us
This commit is contained in:
@ -1332,7 +1332,7 @@ pgfdw_cancel_query(PGconn *conn)
|
||||
static bool
|
||||
pgfdw_cancel_query_begin(PGconn *conn, TimestampTz endtime)
|
||||
{
|
||||
char *errormsg = libpqsrv_cancel(conn, endtime);
|
||||
const char *errormsg = libpqsrv_cancel(conn, endtime);
|
||||
|
||||
if (errormsg != NULL)
|
||||
ereport(WARNING,
|
||||
|
Reference in New Issue
Block a user