pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dmitry Samersoff <dms@wplus.net>
To: Jose Soares <jose@sferacarta.com>
Cc: general <pgsql-general@postgreSQL.org>
Cc: hackers <pgsql-hackers@postgreSQL.org>
Subject: RE: [HACKERS] TRANSACTIONS
Date: Tue, 22 Feb 2000 15:13:12 +0300 (MSK)
Message-ID: <XFMail.20000222151312.dms@wplus.net> (raw)
In-Reply-To: <38B27760.DB921B57@sferacarta.com>


On 22-Feb-2000 Jose Soares wrote:
> begin transaction;
> create table tmp(a int);
> insert into tmp values (1);
> insert into tmp values (1000000000000000000000000000000000);
> ERROR:  pg_atoi: error reading "1000000000000000000000000000000000":
> Numerical result out of range
> commit;
> select * from tmp;
> ERROR:  tmp: Table does not exist.
> -------------------------------------------------------
> Interbase, Oracle,Informix,Solid,Ms-Access,DB2:
                                   ^^^^^^^^^   
 AFAIK, MS Access have no transactions inside it,
 Informix (at least old versions I worked with) always 
 perform create,drop, alter object outside transaction 
 but IMHO it's not right behavior.
 
 I believe postgres's behavior more meaningful, 
but IMHO, this example is quite far from real life. 

 

-- 
Dmitry Samersoff, dms@wplus.net, ICQ:3161705
http://devnull.wplus.net
* There will come soft rains ...



view thread (58+ messages)  latest in thread

Message-ID: <XFMail.20000222151312.dms@wplus.net>
Permalink:  ../XFMail.20000222151312.dms@wplus.net/
Also on:    postgresql.org/message-id/XFMail.20000222151312.dms@wplus.net

 · 

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-general@postgresql.org
  Cc: dms@wplus.net, jose@sferacarta.com, pgsql-hackers@postgreSQL.org
  Subject: Re: [HACKERS] TRANSACTIONS
  In-Reply-To: <XFMail.20000222151312.dms@wplus.net>
  References: <38B27760.DB921B57@sferacarta.com> <XFMail.20000222151312.dms@wplus.net>

* 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