Skip to content

Commit 61f618e

Browse files
committed
Move IN to proper place.
1 parent a341db9 commit 61f618e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/parser/gram.y

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.76 1999/05/17 00:31:49 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.77 1999/05/17 01:01:06 momjian Exp $
1414
*
1515
* HISTORY
1616
* AUTHOR DATE MAJOR EVENT
@@ -2592,17 +2592,17 @@ DeleteStmt: DELETE FROM relation_name
25922592
}
25932593
;
25942594

2595-
LockStmt: LOCK_P opt_table relation_name IN opt_lock
2595+
LockStmt: LOCK_P opt_table relation_name opt_lock
25962596
{
25972597
LockStmt *n = makeNode(LockStmt);
25982598

25992599
n->relname = $3;
2600-
n->mode = $5;
2600+
n->mode = $4;
26012601
$$ = (Node *)n;
26022602
}
26032603
;
26042604

2605-
opt_lock: lock_type MODE { $$ = $1; }
2605+
opt_lock: IN lock_type MODE { $$ = $2; }
26062606
| /*EMPTY*/ { $$ = AccessExclusiveLock; }
26072607
;
26082608

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy