pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Schmitz <a.schmitz@cityweb.de>
To: pgsql-admin@postgresql.org
Subject: locking a table
Date: Mon, 23 Dec 2002 18:02:24 +0100
Message-ID: <200212231802.24128.a.schmitz@cityweb.de> (raw)


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




view thread (5+ messages)  latest in thread

Message-ID: <200212231802.24128.a.schmitz@cityweb.de>
Permalink:  ../200212231802.24128.a.schmitz@cityweb.de/
Also on:    postgresql.org/message-id/200212231802.24128.a.schmitz@cityweb.de

 · 

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: a.schmitz@cityweb.de
  Subject: Re: locking a table
  In-Reply-To: <200212231802.24128.a.schmitz@cityweb.de>
  References: <200212231802.24128.a.schmitz@cityweb.de>

* 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