pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vadim Nasardinov <vadimn@redhat.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Weird behavior in transaction handling (Possible bug ?)
Date: Fri, 14 Jan 2005 17:27:02 -0500
Message-ID: <200501141727.02241@vadim.nasardinov> (raw)
In-Reply-To: <41E843C0.2080005@fastcrypt.com>
References: <20050114161304.32600.qmail@web14223.mail.yahoo.com>
	<200501141707.38043@vadim.nasardinov>
	<41E843C0.2080005@fastcrypt.com>

On Friday 14 January 2005 17:12, Dave Cramer wrote:
> I see no point in either of these as the solution is simple... Don't
> ignore errors.

This is a misrepresentation of the other side's argument.

I mentioned this thread earlier in this discussion:
  http://archives.postgresql.org/pgsql-advocacy/2004-03/threads.php#00067

Consider, in particular,
  http://archives.postgresql.org/pgsql-advocacy/2004-03/msg00070.php

The guy is most emphatically _not_ ignoring errors.  Wouldn't you
agree?

The point of the solutions that Oliver proposed is not hard to see.  I
can write code that works unchanged with Oracle, Sybase, DB2,
MySQL/InnoDB, Firebird and god knows what else.  As soon as I throw
PostgreSQL into the mix, I need to handle a radically different
transaction semantics all of a sudden.  Oliver's proposal obviates the
need for special-casing PostgreSQL in my application code, albeit
admittedly at the expense of incurring a measurable performance hit.
Which is fine with me, as long as I'm informed of the tradeoff.

YMMV.



view thread (22+ messages)  latest in thread

Message-ID: <200501141727.02241@vadim.nasardinov>
Permalink:  ../200501141727.02241@vadim.nasardinov/
Also on:    postgresql.org/message-id/200501141727.02241@vadim.nasardinov

 · 

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-jdbc@postgresql.org
  Cc: vadimn@redhat.com
  Subject: Re: Weird behavior in transaction handling (Possible bug ?)
  In-Reply-To: <200501141727.02241@vadim.nasardinov>
  References: <20050114161304.32600.qmail@web14223.mail.yahoo.com> <200501141707.38043@vadim.nasardinov> <41E843C0.2080005@fastcrypt.com> <200501141727.02241@vadim.nasardinov>

* 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