aboutsummaryrefslogtreecommitdiff
path: root/src/pl/plpython/plpy_cursorobject.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-08-06 23:04:48 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-08-06 23:04:48 +0300
commitfe8dd65bf28db1a6ad690ffcd5124d1863b5a4c6 (patch)
treebebe94fc30af8dcf35787e619febef093979c0ee /src/pl/plpython/plpy_cursorobject.c
parent85829c973cb33592dbc0b0f3aaf9132f5dea6953 (diff)
downloadpostgresql-fe8dd65bf28db1a6ad690ffcd5124d1863b5a4c6.tar.gz
postgresql-fe8dd65bf28db1a6ad690ffcd5124d1863b5a4c6.zip
Mark misc static global variables as const
Reviewed-by: Andres Freund Discussion: https://www.postgresql.org/message-id/54c29fb0-edf2-48ea-9814-44e918bbd6e8@iki.fi
Diffstat (limited to 'src/pl/plpython/plpy_cursorobject.c')
-rw-r--r--src/pl/plpython/plpy_cursorobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pl/plpython/plpy_cursorobject.c b/src/pl/plpython/plpy_cursorobject.c
index 57e8f8ec217..24f2ac8c46b 100644
--- a/src/pl/plpython/plpy_cursorobject.c
+++ b/src/pl/plpython/plpy_cursorobject.c
@@ -27,7 +27,7 @@ static PyObject *PLy_cursor_iternext(PyObject *self);
static PyObject *PLy_cursor_fetch(PyObject *self, PyObject *args);
static PyObject *PLy_cursor_close(PyObject *self, PyObject *unused);
-static char PLy_cursor_doc[] = "Wrapper around a PostgreSQL cursor";
+static const char PLy_cursor_doc[] = "Wrapper around a PostgreSQL cursor";
static PyMethodDef PLy_cursor_methods[] = {
{"fetch", PLy_cursor_fetch, METH_VARARGS, NULL},