Renumber cursor option flags
authorPeter Eisentraut <[email protected]>
Mon, 5 Apr 2021 07:10:27 +0000 (09:10 +0200)
committerPeter Eisentraut <[email protected]>
Mon, 5 Apr 2021 07:10:27 +0000 (09:10 +0200)
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.

src/include/nodes/parsenodes.h

index 7960cfe1a8259999aa763628a364c5ab39c2acf1..97b80dfd21027fd96e0cdfd8986c7f5acdd08d9d 100644 (file)
@@ -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
 {