From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,229ea0001655d6a2 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.germany.com!news.belwue.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Generic Package From: Georg Bauhaus In-Reply-To: References: <1177539306.952515.222940@s33g2000prh.googlegroups.com> <1177601484.444701.171560@r35g2000prh.googlegroups.com> <1177672290.8055.6.camel@localhost> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-ID: <1177683046.12952.4.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Date: Fri, 27 Apr 2007 16:10:47 +0200 Organization: Arcor NNTP-Posting-Date: 27 Apr 2007 16:05:08 CEST NNTP-Posting-Host: 48062e85.newsspool1.arcor-online.net X-Trace: DXC=h972TGB3hK;NTD55K=ic==]BZ:af>4Fo<]lROoR1Fl8W>\BH3Y2PhITQ6bA`36N[W On Fri, 2007-04-27 at 14:06 +0200, Dmitry A. Kazakov wrote: > > Any real table in an existing computer has a "natural" > > ordering suitable for iterating an operation for all > > elements: data in a real computer can be uniquely identified. > > No this is wrong even on a real computer. The DB engine could shuffle the > rows asynchronously to your application. So what? Any delivery of DB rows to an application permits iteration as long as Iterate knows how to create a sequence from the inputs. I can't think of a DB system, in particular in the OP's context, that will deliver rows such that the recipients must be able to perform processing of more than one row at the same tick. > > The fact that the ordering is hidden behind the functional > > Iterate abstraction doesn't make it go away for any > > snapshot of rows. > > It does. Semantically, table /= a snapshot of. That is. For Iterate, a snapshot is a table, a collection of tuples. Semantically, every DB client program I have ever seen is based on the very fact that a snapshot is a table.