Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Brain off-line, please wait.


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

SubjectAuthor
o Re: [Info-ingres] x100 transactionMartin Bowes

1
Re: [Info-ingres] x100 transaction

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

  copy mid

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

  copy link   Newsgroups: comp.databases.ingres
Path: i2pn2.org!i2pn.org!news.neodome.net!feeder1.feed.usenet.farm!feed.usenet.farm!tr2.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: Tue, 11 May 2021 05:12:03 -0500
Return-Path: <martin.bowes@ndph.ox.ac.uk>
X-Original-To: info-ingres@lists.planetingres.org
Delivered-To: info-ingres@mort.croker.net
From: martin.b...@ndph.ox.ac.uk (Martin Bowes)
To: Karl Schendel <schendel@kbcomputer.com>
Date: Tue, 11 May 2021 10:09:43 +0000
References: <3d80aac9cb7e47b3ab7938d663951fa0@ndph.ox.ac.uk> <15D3C0FD-54C2-4A8A-8591-AE35EB34CD01@kbcomputer.com>
In-Reply-To: <15D3C0FD-54C2-4A8A-8591-AE35EB34CD01@kbcomputer.com>
Content-Language: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-WatchGuard-AntiVirus: part scanned. clean action=allow
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.27.1620727835.1681.info-ingres@lists.planetingres.org>
Lines: 22
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-XG0TqvxO+2KXe/nU6mMN0gTDrKSPqc0hu1nSVg5UnEvwQ6b+lSq4DWmeDKHJoK3iX5s6zPf7IiSJOwW!R8OS6mWs3r74pCDdznwjFUe0CY6/wRVcGE5VfOM56eyAIYGG5fWGWMs7e6AQwfUME6s843gBVl7r!EvXYGqYOfb4iAkRMKi7wkQ==
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: 3881
 by: Martin Bowes - Tue, 11 May 2021 10:09 UTC

Hi Karl,
> What's going on is that the delay_txn_start config parameter is probably set to ON.
Yes.
> 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.
Seems fair.
> Once X100 tables exist, the check is a little different and you don't get the error.
Whoa! An initialisation condition.
So starting with an empty database...
The drop table if exists / create table with structure = x100 fails as before.
However, if we ensure we have at least one existing x100 table first...:
create table dummy(id integer4 not null not default) with structure = x100;
commit;
drop table if exists base;
create table base(id integer4 not null not default) with structure = x100;
commit;
That now works as expected.
Marty
_______________________________________________
Info-ingres mailing list
Info-ingres@lists.planetingres.org
https://lists.planetingres.org/mailman/listinfo/info-ingres


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

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor