Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 48E6F475AAC for ; Mon, 23 Dec 2002 12:08:24 -0500 (EST) Received: from linux012.intern.cityweb.de (linux012.intern.cityweb.de [195.71.215.252]) by postgresql.org (Postfix) with ESMTP id 33DDC475925 for ; Mon, 23 Dec 2002 12:08:23 -0500 (EST) Received: from zahedi.intern.cityweb.de (zahedi.intern.cityweb.de [193.189.226.198]) by linux012.intern.cityweb.de (8.11.0/8.11.0) with ESMTP id gBNH8SJ13372 for ; Mon, 23 Dec 2002 18:08:28 +0100 Content-Type: text/plain; charset="us-ascii" From: Andreas Schmitz Reply-To: a.schmitz@cityweb.de Organization: Cityweb Network To: pgsql-admin@postgresql.org Subject: locking a table Date: Mon, 23 Dec 2002 18:02:24 +0100 User-Agent: KMail/1.4.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200212231802.24128.a.schmitz@cityweb.de> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/265 X-Sequence-Number: 6760 Hello *, I just tried to lock a table in exclusive mode following the syntax provided by \h lock LOCK [ TABLE ] name [, ...] IN lockmode MODE and I get the following result: newsdb=# lock table dpa in lockmode 'exclusive'; ERROR: parser: parse error at or near "lockmode" at character 19 newsdb=# lock table dpa in lockmode exclusive; ERROR: parser: parse error at or near "lockmode" at character 19 newsdb=# Did I get it totally wrong and I am badly in need of some holidays or is there something wrong with the syntax ? kind regards, -andreas -- Andreas Schmitz - Phone +49 201 8501 318 Cityweb-Technik-Service-Gesellschaft mbH Friedrichstr. 12 - Fax +49 201 8501 104 45128 Essen - email a.schmitz@cityweb.de