1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Patch to LOCK multiple tables in one LOCK command.

Neil Padgett
This commit is contained in:
Bruce Momjian
2001-08-10 14:30:15 +00:00
parent 49eb4f47c7
commit 77a69a2ed1
7 changed files with 53 additions and 34 deletions

View File

@ -15,7 +15,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.150 2001/08/04 22:01:38 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.151 2001/08/10 14:30:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -2425,8 +2425,8 @@ _copyLockStmt(LockStmt *from)
{
LockStmt *newnode = makeNode(LockStmt);
if (from->relname)
newnode->relname = pstrdup(from->relname);
Node_Copy(from, newnode, rellist);
newnode->mode = from->mode;
return newnode;