2
2
* Routines for handling of 'SET var TO',
3
3
* 'SHOW var' and 'RESET var' statements.
4
4
*
5
- * $Id: variable.c,v 1.18 1998/12 /18 09:10:20 vadim Exp $
5
+ * $Id: variable.c,v 1.19 1999/02 /18 06:00:44 momjian Exp $
6
6
*
7
7
*/
8
8
@@ -36,9 +36,6 @@ static bool parse_cost_heap(const char *);
36
36
static bool show_cost_index (void );
37
37
static bool reset_cost_index (void );
38
38
static bool parse_cost_index (const char * );
39
- static bool show_r_plans (void );
40
- static bool reset_r_plans (void );
41
- static bool parse_r_plans (const char * );
42
39
static bool reset_geqo (void );
43
40
static bool show_geqo (void );
44
41
static bool parse_geqo (const char * );
@@ -58,7 +55,6 @@ extern Cost _cpu_page_wight_;
58
55
extern Cost _cpu_index_page_wight_ ;
59
56
extern bool _use_geqo_ ;
60
57
extern int32 _use_geqo_rels_ ;
61
- extern bool _use_right_sided_plans_ ;
62
58
extern bool _use_keyset_query_optimizer ;
63
59
64
60
/*
@@ -242,53 +238,6 @@ reset_geqo(void)
242
238
return TRUE;
243
239
}
244
240
245
- /*
246
- *
247
- * R_PLANS
248
- *
249
- */
250
- static bool
251
- parse_r_plans (const char * value )
252
- {
253
- if (value == NULL )
254
- {
255
- reset_r_plans ();
256
- return TRUE;
257
- }
258
-
259
- if (strcasecmp (value , "on" ) == 0 )
260
- _use_right_sided_plans_ = true;
261
- else if (strcasecmp (value , "off" ) == 0 )
262
- _use_right_sided_plans_ = false;
263
- else
264
- elog (ERROR , "Bad value for Right-sided Plans (%s)" , value );
265
-
266
- return TRUE;
267
- }
268
-
269
- static bool
270
- show_r_plans ()
271
- {
272
-
273
- if (_use_right_sided_plans_ )
274
- elog (NOTICE , "Right-sided Plans are ON" );
275
- else
276
- elog (NOTICE , "Right-sided Plans are OFF" );
277
- return TRUE;
278
- }
279
-
280
- static bool
281
- reset_r_plans ()
282
- {
283
-
284
- #ifdef USE_RIGHT_SIDED_PLANS
285
- _use_right_sided_plans_ = true;
286
- #else
287
- _use_right_sided_plans_ = false;
288
- #endif
289
- return TRUE;
290
- }
291
-
292
241
/*
293
242
*
294
243
* COST_HEAP
@@ -659,9 +608,6 @@ struct VariableParsers
659
608
{
660
609
"geqo" , parse_geqo , show_geqo , reset_geqo
661
610
},
662
- {
663
- "r_plans" , parse_r_plans , show_r_plans , reset_r_plans
664
- },
665
611
#ifdef MULTIBYTE
666
612
{
667
613
"client_encoding" , parse_client_encoding , show_client_encoding , reset_client_encoding
0 commit comments