pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>
Cc: Richard Huxton <dev@archonet.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: [SQL] Deadlock on transaction
Date: Mon, 12 Feb 2007 13:56:30 -0600
Message-ID: <1171310190.3565.22.camel@state.g2switchworks.com> (raw)
In-Reply-To: <55c095e90702121120s5b98a2d8u4a05a31f9625ffa@mail.gmail.com>
References: <55c095e90702120943v2909044eo91445b0eda3958c7@mail.gmail.com>
	<1171302488.3565.15.camel@state.g2switchworks.com>
	<55c095e90702121008u6d3d27c0m16e52d63f97c3e7d@mail.gmail.com>
	<45D0B565.9060402@archonet.com>
	<55c095e90702121047x1c66b098xbcf0d308195ff584@mail.gmail.com>
	<45D0B8A4.7000602@archonet.com>
	<55c095e90702121120s5b98a2d8u4a05a31f9625ffa@mail.gmail.com>

On Mon, 2007-02-12 at 13:20, Ezequias Rodrigues da Rocha wrote:
> This is delphi. I don't intent you understand but the sql actions are
> quite simple (I am reading a list of numbers).

Hmmm.  I'm not seeing anything in your example that should be blocking
other transactions.  Is there anything that Delphi is doing here that we
don't see from your code?  I.e. does to toss a "for update" on the ends
of selects, or "lock table" in there we don't see?

Maybe you could turn on logging of ALL queries in the database and see
what's really going on there, cause I'm not seeing anything in your code
to point to blocking.



view thread (13+ messages)

Message-ID: <1171310190.3565.22.camel@state.g2switchworks.com>
Permalink:  ../1171310190.3565.22.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1171310190.3565.22.camel@state.g2switchworks.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-sql@postgresql.org
  Cc: smarlowe@g2switchworks.com, ezequias.rocha@gmail.com, dev@archonet.com, pgsql-admin@postgresql.org
  Subject: Re: [SQL] Deadlock on transaction
  In-Reply-To: <1171310190.3565.22.camel@state.g2switchworks.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