aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-04-05 09:10:27 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-04-05 09:10:27 +0200
commita63dd8afe2b859b853d857cd8a0392ca1e04ab6c (patch)
tree73dd80ddbd2982d0327c8e64d4e5971cdb772f5a /src
parent9f6f1f9b8e61f9ce47e1936fc68c21a4a8d6722c (diff)
downloadpostgresql-a63dd8afe2b859b853d857cd8a0392ca1e04ab6c.tar.gz
postgresql-a63dd8afe2b859b853d857cd8a0392ca1e04ab6c.zip
Renumber cursor option flags
Move the planner-control flags up so that there is more room for parse options. Some pending patches need some room there, so do this renumbering separately so that there is less potential for conflicts.
Diffstat (limited to 'src')
-rw-r--r--src/include/nodes/parsenodes.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index 7960cfe1a82..97b80dfd210 100644
--- a/src/include/nodes/parsenodes.h
+++ b/src/include/nodes/parsenodes.h
@@ -2776,10 +2776,10 @@ typedef struct SecLabelStmt
#define CURSOR_OPT_INSENSITIVE 0x0008 /* INSENSITIVE */
#define CURSOR_OPT_HOLD 0x0010 /* WITH HOLD */
/* these planner-control flags do not correspond to any SQL grammar: */
-#define CURSOR_OPT_FAST_PLAN 0x0020 /* prefer fast-start plan */
-#define CURSOR_OPT_GENERIC_PLAN 0x0040 /* force use of generic plan */
-#define CURSOR_OPT_CUSTOM_PLAN 0x0080 /* force use of custom plan */
-#define CURSOR_OPT_PARALLEL_OK 0x0100 /* parallel mode OK */
+#define CURSOR_OPT_FAST_PLAN 0x0100 /* prefer fast-start plan */
+#define CURSOR_OPT_GENERIC_PLAN 0x0200 /* force use of generic plan */
+#define CURSOR_OPT_CUSTOM_PLAN 0x0400 /* force use of custom plan */
+#define CURSOR_OPT_PARALLEL_OK 0x0800 /* parallel mode OK */
typedef struct DeclareCursorStmt
{