Re: BUG #5009: Loss of information - Mailing list pgsql-bugs

From David Fetter
Subject Re: BUG #5009: Loss of information
Date
Msg-id 20090825144000.GE14487@fetter.org
Whole thread Raw
In response to BUG #5009: Loss of information  ("Fernando Velloso Tanure" <f_tanure@terra.com.br>)
List pgsql-bugs
On Tue, Aug 25, 2009 at 12:07:44PM +0000, Fernando Velloso Tanure wrote:
>
> The following bug has been logged online:
>
> Bug reference:      5009
> Logged by:          Fernando Velloso Tanure
> Email address:      f_tanure@terra.com.br
> PostgreSQL version: 8.1.11
> Operating system:   CentOS5.3 Red Hat Enterprise Linux RHEL
> Description:        Loss of information
> Details:
>
> Good afternoon
>
> I'm having problem in postgres where some rows inserted or changed
> during the day was lost as a rollback was executed.

That is rollback's defined behavior in every database management
system, not just PostgreSQL.

> I am using a system developed in Delphi with Zeos components for
> access to the database.
>
> The sequences used in the inserts are not lost.

This, too, is defined behavior.  Sequences provide uniqueness, and
only that.  If you wish to create some entity which has some other
properties, be aware that such entities require locking, which sharply
limits their speed.

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

pgsql-bugs by date:

Previous
From: Craig Ringer
Date:
Subject: Re: BUG #5009: Loss of information
Next
From: Magnus Hagander
Date:
Subject: Re: BUG #5008: Server Startup Problem - When server is configured for SSL