English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[ 1/2 OT ;-) ] This sounds very functional to me...
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-05-12 (20:31)
From: Florian Weimer <fw@d...>
Subject: Re: [Caml-list] [ 1/2 OT ;-) ] This sounds very functional to me...
* Oliver Bandel:

>   "PostgreSQL creates a new version of the row and also retains the
>    old or expired version. Database systems that use row-level
>    locking do not retain old versions of the data, hence the need
>    for locks to maintain data consistency."
> this sounds very functional to me,
> like non-destructive updates/functional datastructures...
> ... does FP ideas become more and more popular?

Quite a few database people (often those with a background in
accounting) tell you that you should never overwrite any data.  Early
versions of PostgreSQL followed that closely, so you could not delete
any data and free up the space (but you were able to time-travel to
older table versions).