locking a table - Mailing list pgsql-admin

From Andreas Schmitz
Subject locking a table
Date
Msg-id 200212231802.24128.a.schmitz@cityweb.de
Whole thread Raw
Responses Re: locking a table  (Simone Tellini <tellini@areabusiness.it>)
List pgsql-admin
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


pgsql-admin by date:

Previous
From: "Robert M. Meyer"
Date:
Subject: Postgres 7.2.3 hangs during vacuum.
Next
From: "Rob Abernethy IV"
Date:
Subject: SSL Mode