[erlang-questions] change erlang records runtime ?

Bengt Kleberg bengt.kleberg@REDACTED
Fri Dec 8 09:21:57 CET 2006


On 2006-12-08 08:53, Sanjaya Vitharana wrote:
> Hi,
>  
> Is it possibe to restructure/change erlang records runtime ?

do you mean like a code change because you have upgraded the software? 
if it is a record stored in mnesia you have transform_table/3,4,
for ets you could write your own transform_table/3,4.
if it is stored in a gen_server you have the callback code_change/3.


bengt
-- 
    EPO guidelines 1978: "If the contribution to the known art resides
    solely in a computer program then the subject matter is not
    patentable in whatever manner it may be presented in the claims."



More information about the erlang-questions mailing list