summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPeter Eisentraut2021-06-10 14:21:48 +0000
committerPeter Eisentraut2021-06-10 14:21:48 +0000
commitb29fa951ec519bdde153465e2caa6c0b7b3bcfc3 (patch)
tree673b0e51ed6cb47dbea24eec70a6839237480515 /src/include
parent4dcb1d087aebc6fc2477ce4458ea82f548e2c1ee (diff)
Add some const decorations
One of these functions is new in PostgreSQL 14; might as well start it out right.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/replication/origin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/replication/origin.h b/src/include/replication/origin.h
index d2ed6305fe1..cd0b3e194c4 100644
--- a/src/include/replication/origin.h
+++ b/src/include/replication/origin.h
@@ -38,9 +38,9 @@ extern PGDLLIMPORT XLogRecPtr replorigin_session_origin_lsn;
extern PGDLLIMPORT TimestampTz replorigin_session_origin_timestamp;
/* API for querying & manipulating replication origins */
-extern RepOriginId replorigin_by_name(char *name, bool missing_ok);
-extern RepOriginId replorigin_create(char *name);
-extern void replorigin_drop_by_name(char *name, bool missing_ok, bool nowait);
+extern RepOriginId replorigin_by_name(const char *name, bool missing_ok);
+extern RepOriginId replorigin_create(const char *name);
+extern void replorigin_drop_by_name(const char *name, bool missing_ok, bool nowait);
extern bool replorigin_by_oid(RepOriginId roident, bool missing_ok,
char **roname);