@@ -283,7 +283,7 @@ static Node *makeRecursiveViewSelect(char *relname, List *aliases, Node *query);
283
283
284
284
%type <ival> opt_lock lock_type cast_context
285
285
%type <ival> vacuum_option_list vacuum_option_elem
286
- %type <boolean> opt_force opt_or_replace
286
+ %type <boolean> opt_or_replace
287
287
opt_grant_grant_option opt_grant_admin_option
288
288
opt_nowait opt_if_exists opt_with_data
289
289
%type <ival> opt_nowait_or_skip
@@ -7301,45 +7301,43 @@ opt_if_exists: IF_P EXISTS { $$ = TRUE; }
7301
7301
*
7302
7302
* QUERY:
7303
7303
*
7304
- * REINDEX type <name> [FORCE]
7305
- *
7306
- * FORCE no longer does anything, but we accept it for backwards compatibility
7304
+ * REINDEX type <name>
7307
7305
*****************************************************************************/
7308
7306
7309
7307
ReindexStmt :
7310
- REINDEX INDEX qualified_name opt_force
7308
+ REINDEX INDEX qualified_name
7311
7309
{
7312
7310
ReindexStmt *n = makeNode(ReindexStmt);
7313
7311
n->kind = REINDEX_OBJECT_INDEX;
7314
7312
n->relation = $3 ;
7315
7313
n->name = NULL ;
7316
7314
$$ = (Node *)n;
7317
7315
}
7318
- | REINDEX TABLE qualified_name opt_force
7316
+ | REINDEX TABLE qualified_name
7319
7317
{
7320
7318
ReindexStmt *n = makeNode(ReindexStmt);
7321
7319
n->kind = REINDEX_OBJECT_TABLE;
7322
7320
n->relation = $3 ;
7323
7321
n->name = NULL ;
7324
7322
$$ = (Node *)n;
7325
7323
}
7326
- | REINDEX SCHEMA name opt_force
7324
+ | REINDEX SCHEMA name
7327
7325
{
7328
7326
ReindexStmt *n = makeNode(ReindexStmt);
7329
7327
n->kind = REINDEX_OBJECT_SCHEMA;
7330
7328
n->name = $3 ;
7331
7329
n->relation = NULL ;
7332
7330
$$ = (Node *)n;
7333
7331
}
7334
- | REINDEX SYSTEM_P name opt_force
7332
+ | REINDEX SYSTEM_P name
7335
7333
{
7336
7334
ReindexStmt *n = makeNode(ReindexStmt);
7337
7335
n->kind = REINDEX_OBJECT_SYSTEM;
7338
7336
n->name = $3 ;
7339
7337
n->relation = NULL ;
7340
7338
$$ = (Node *)n;
7341
7339
}
7342
- | REINDEX DATABASE name opt_force
7340
+ | REINDEX DATABASE name
7343
7341
{
7344
7342
ReindexStmt *n = makeNode(ReindexStmt);
7345
7343
n->kind = REINDEX_OBJECT_DATABASE;
@@ -7349,10 +7347,6 @@ ReindexStmt:
7349
7347
}
7350
7348
;
7351
7349
7352
- opt_force : FORCE { $$ = TRUE ; }
7353
- | /* EMPTY */ { $$ = FALSE ; }
7354
- ;
7355
-
7356
7350
7357
7351
/* ****************************************************************************
7358
7352
*
0 commit comments