diff options
author | Peter Eisentraut | 2017-10-31 14:34:31 +0000 |
---|---|---|
committer | Peter Eisentraut | 2017-11-10 18:38:57 +0000 |
commit | 0e1539ba0d0a43de06c6e0572a565e73b9472538 (patch) | |
tree | ae931d9955c9d6c91c8c85ee8c8e74e74bfb4612 /src/include/executor/tablefunc.h | |
parent | 7e60e678615b1f803ac73faee71cca79ec310d1d (diff) |
Add some const decorations to prototypes
Reviewed-by: Fabien COELHO <[email protected]>
Diffstat (limited to 'src/include/executor/tablefunc.h')
-rw-r--r-- | src/include/executor/tablefunc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/executor/tablefunc.h b/src/include/executor/tablefunc.h index a24a555b757..49e8c7c1b2a 100644 --- a/src/include/executor/tablefunc.h +++ b/src/include/executor/tablefunc.h @@ -53,11 +53,11 @@ typedef struct TableFuncRoutine { void (*InitOpaque) (struct TableFuncScanState *state, int natts); void (*SetDocument) (struct TableFuncScanState *state, Datum value); - void (*SetNamespace) (struct TableFuncScanState *state, char *name, - char *uri); - void (*SetRowFilter) (struct TableFuncScanState *state, char *path); + void (*SetNamespace) (struct TableFuncScanState *state, const char *name, + const char *uri); + void (*SetRowFilter) (struct TableFuncScanState *state, const char *path); void (*SetColumnFilter) (struct TableFuncScanState *state, - char *path, int colnum); + const char *path, int colnum); bool (*FetchRow) (struct TableFuncScanState *state); Datum (*GetValue) (struct TableFuncScanState *state, int colnum, Oid typid, int32 typmod, bool *isnull); |