pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
Cc: pgsql-general@postgresql.org
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] Locking in PostgreSQL?
Date: Wed, 6 Dec 2006 07:29:37 -0500
Message-ID: <30BD1C9A-1664-4290-B343-0FB1FEBA7B53@fastcrypt.com> (raw)
In-Reply-To: <1165388652.6396.1.camel@panoramix>
References: <1165388652.6396.1.camel@panoramix>

Unless you specifically ask for it postgresql doesn't lock any rows  
when you update data.

Dave
On 6-Dec-06, at 2:04 AM, Joost Kraaijeveld wrote:

> Does PostgreSQL lock the entire row in a table if I update only 1
> column?
>
>
> -- 
> Groeten,
>
> Joost Kraaijeveld
> Askesis B.V.
> Molukkenstraat 14
> 6524NB Nijmegen
> tel: 024-3888063 / 06-51855277
> fax: 024-3608416
> web: www.askesis.nl
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match
>




view thread (10+ messages)  latest in thread

Message-ID: <30BD1C9A-1664-4290-B343-0FB1FEBA7B53@fastcrypt.com>
Permalink:  ../30BD1C9A-1664-4290-B343-0FB1FEBA7B53@fastcrypt.com/
Also on:    postgresql.org/message-id/30BD1C9A-1664-4290-B343-0FB1FEBA7B53@fastcrypt.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 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-performance@postgresql.org
  Cc: pg@fastcrypt.com, J.Kraaijeveld@Askesis.nl, pgsql-general@postgresql.org
  Subject: Re: [PERFORM] Locking in PostgreSQL?
  In-Reply-To: <30BD1C9A-1664-4290-B343-0FB1FEBA7B53@fastcrypt.com>
  References: <1165388652.6396.1.camel@panoramix> <30BD1C9A-1664-4290-B343-0FB1FEBA7B53@fastcrypt.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