From Newsgroup: comp.databases.ingres
Hi Karl,
Do you need an insert into iidefaults? I presume there no insert into iirelation, iiattribute for the temps when created so I assume that the temp table details are a purely in memory structure.
Marty
-----Original Message-----
From: Karl Schendel <
schendel@kbcomputer.com>
Sent: 04 February 2021 14:05
To:
info-ingres@lists.planetingres.org
Subject: Re: [Info-ingres] defaults in session tables
On Feb 4, 2021, at 4:00 AM, Martin Bowes <martin.bowes@ndph.ox.ac.uk> wrote:
So clearly we have a session temp table which respects my user defaultsrCawe just canrCOt create it directly.
That seems weird.
It does seem weird. It might be so that declare global temporary table can be fully locking-free; if defaults were allowed then you need an insert into iidefault.
The declare as select has the new GTT referring to an existing value in iidefault, so the issue doesn't arise.
A bit of a lame excuse though.
Karl
_______________________________________________
Info-ingres mailing list
Info-ingres@lists.planetingres.org https://lists.planetingres.org/mailman/listinfo/info-ingres
--- Synchronet 3.21b-Linux NewsLink 1.2