summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-08-10 14:30:15 +0000
committerBruce Momjian <bruce@momjian.us>2001-08-10 14:30:15 +0000
commit77a69a2ed165c31a981ac553f56c7b43e12d9ab5 (patch)
tree3bb56d3c86d6184feb748cedd62a0bff4ebc2671 /src/interfaces/ecpg
parent49eb4f47c7e9300638aee5f9b4a12c3a5c69e707 (diff)
Patch to LOCK multiple tables in one LOCK command.
Neil Padgett
Diffstat (limited to 'src/interfaces/ecpg')
-rw-r--r--src/interfaces/ecpg/preproc/preproc.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y
index 88330ad3c1d..09180f85c9c 100644
--- a/src/interfaces/ecpg/preproc/preproc.y
+++ b/src/interfaces/ecpg/preproc/preproc.y
@@ -2421,7 +2421,7 @@ DeleteStmt: DELETE FROM relation_expr where_clause
}
;
-LockStmt: LOCK_P opt_table relation_name opt_lock
+LockStmt: LOCK_P opt_table relation_name_list opt_lock
{
$$ = cat_str(4, make_str("lock"), $2, $3, $4);
}