pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bill Moran <wmoran@potentialtech.com>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: Saleem Burhani Baloch <peseek@khi.wol.net.pk>
Cc: pgsql-performance@postgresql.org
Subject: Re: Slow response of PostgreSQL
Date: Tue, 17 Feb 2004 08:02:51 -0500
Message-ID: <403210FB.5040209@potentialtech.com> (raw)
In-Reply-To: <4031BBBC.5050002@familyhealth.com.au>
References: <200402170624.i1H6O2u16022@ns2.khi.wol.net.pk>
	<4031BBBC.5050002@familyhealth.com.au>

Christopher Kings-Lynne wrote:
>> 1- How can I lock a single record so that other users can only read 
>> it. ??
> 
> You cannot do that in PostgreSQL.

How about SELECT ... FOR UPDATE?

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com




view thread (18+ messages)  latest in thread

Message-ID: <403210FB.5040209@potentialtech.com>
Permalink:  ../403210FB.5040209@potentialtech.com/
Also on:    postgresql.org/message-id/403210FB.5040209@potentialtech.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: wmoran@potentialtech.com, chriskl@familyhealth.com.au, peseek@khi.wol.net.pk
  Subject: Re: Slow response of PostgreSQL
  In-Reply-To: <403210FB.5040209@potentialtech.com>

* 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