Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Anything cut to length will be too short.


devel / comp.databases.ingres / Re: [Info-ingres] x100 transaction

SubjectAuthor
o Re: [Info-ingres] x100 transactionKarl Schendel

1
Re: [Info-ingres] x100 transaction

<mailman.26.1620397541.1681.info-ingres@lists.planetingres.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=80&group=comp.databases.ingres#80

  copy link   Newsgroups: comp.databases.ingres
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 07 May 2021 09:26:03 -0500
Return-Path: <schendel@kbcomputer.com>
X-Original-To: info-ingres@lists.planetingres.org
Delivered-To: info-ingres@mort.croker.net
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.6\))
From: schendel@kbcomputer.com (Karl Schendel)
In-Reply-To: <3d80aac9cb7e47b3ab7938d663951fa0@ndph.ox.ac.uk>
Date: Fri, 7 May 2021 10:25:38 -0400
Content-Transfer-Encoding: quoted-printable
References: <3d80aac9cb7e47b3ab7938d663951fa0@ndph.ox.ac.uk>
To: Martin Bowes <martin.bowes@ndph.ox.ac.uk>
X-Mailer: Apple Mail (2.3608.120.23.2.6)
Cc: "info-ingres@lists.planetingres.org" <info-ingres@lists.planetingres.org>
Subject: Re: [Info-ingres] x100 transaction
X-BeenThere: info-ingres@lists.planetingres.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <info-ingres.lists.planetingres.org>
List-Unsubscribe: <https://lists.planetingres.org/mailman/options/info-ingres>, <mailto:info-ingres-request@lists.planetingres.org?subject=unsubscribe>
List-Archive: <https://lists.planetingres.org/pipermail/info-ingres/>
List-Post: <mailto:info-ingres@lists.planetingres.org>
List-Help: <mailto:info-ingres-request@lists.planetingres.org?subject=help>
List-Subscribe: <https://lists.planetingres.org/mailman/listinfo/info-ingres>, <mailto:info-ingres-request@lists.planetingres.org?subject=subscribe>
Newsgroups: comp.databases.ingres
Message-ID: <mailman.26.1620397541.1681.info-ingres@lists.planetingres.org>
Lines: 39
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-SZk4rffBjB/HEhIJZxW1z2wqE4T19Y9qQd+S9nDIpgWPf+PaHjQTJ590fQaslQHc07m8EZksDk4GHcw!R08lHet1esOVy/Hs0YURqeHfFJQ45GM8sZZHLk5r+2YgkShgg98LUygeUhB845+kcKMtqKekCBsS!1dgH8DRnJOyMCSzX+hPEow==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 3376
 by: Karl Schendel - Fri, 7 May 2021 14:25 UTC

> On May 7, 2021, at 6:43 AM, Martin Bowes <martin.bowes@ndph.ox.ac.uk> wrote:
>
> Hi All,
>
> On an x100 enabled database I did:
>
> drop table if exists base;
> create table base(…) with structure = x100;
>
> The base table does not exist, I only added the drop command in case I need to rerun this creation script.
>
> So I was somewhat surprised to be confronted with error:
> E_US250E X100 statements are not allowed in this transaction.
> Create or access an X100 table at the start of a new transaction
> to enable X100 statement processing.
>

You can put a commit after the drop if exists.

What's going on is that the delay_txn_start config parameter is probably set to ON.
That tells the DBMS server to not bother starting an X100 transaction when an
Ingres transaction starts, unless something x100-y is being done. The initial drop
table doesn't force an x100 transaction start because there's no x100 work to do.
The create table does an explicit check to see if it's in an Ingres transaction but
no x100 transaction and throws that error. Once X100 tables exist, the check is
a little different and you don't get the error.

Karl

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor