Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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).