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:
Alvaro Herrera 2024-04-05 18:23:10 +02:00
parent 8e392595e5
commit b8b37e41ba
No known key found for this signature in database
GPG key ID: 1C20ACB9D5C564AE
3 changed files with 4 additions and 4 deletions

View file

@ -1347,7 +1347,7 @@ Datum
dblink_cancel_query(PG_FUNCTION_ARGS)
{
PGconn *conn;
char *msg;
const char *msg;
TimestampTz endtime;
dblink_init();