pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simone Tellini <tellini@areabusiness.it>
To: pgsql-admin@postgresql.org
Subject: Re: locking a table
Date: Mon, 23 Dec 2002 18:35:56 +0100
Message-ID: <20021223183309.22AB.TELLINI@areabusiness.it> (raw)
In-Reply-To: <200212231802.24128.a.schmitz@cityweb.de>
References: <200212231802.24128.a.schmitz@cityweb.de>


On Mon, 23 Dec 2002 18:02:24 +0100
Andreas Schmitz <a.schmitz@cityweb.de> wrote:

AS> LOCK [ TABLE ] name [, ...] IN lockmode MODE
[...]
AS> newsdb=# lock table dpa in lockmode 'exclusive';
AS> ERROR:  parser: parse error at or near "lockmode" at character 19

you might want to try "lock dpa in exclusive mode;"

-- 

Simone Tellini
E-mail: tellini@areabusiness.it
http://www.areabusiness.it




view thread (5+ messages)  latest in thread

Message-ID: <20021223183309.22AB.TELLINI@areabusiness.it>
Permalink:  ../20021223183309.22AB.TELLINI@areabusiness.it/
Also on:    postgresql.org/message-id/20021223183309.22AB.TELLINI@areabusiness.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tellini@areabusiness.it
  Subject: Re: locking a table
  In-Reply-To: <20021223183309.22AB.TELLINI@areabusiness.it>
  References: <200212231802.24128.a.schmitz@cityweb.de> <20021223183309.22AB.TELLINI@areabusiness.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox