table_info on remote table

tty@REDACTED tty@REDACTED
Fri Feb 24 15:45:32 CET 2006


Thanks. Serves me right for reading mnesia_frag in Appendix C of the User Guide instead of going to the source.

t

-------- Original Message --------
From: chandru <chandrashekhar.mullaparthi@REDACTED>
To: "tty@REDACTED" <tty@REDACTED>
Cc: ft@REDACTED, erlang-questions@REDACTED
Subject: Re: table_info on remote table
Date: Fri, 24 Feb 2006 13:45:23 +0000

> On 24/02/06, tty@REDACTED <tty@REDACTED> wrote:
> > Hi,
> >
> > Thanks. This works. Guess I need to upgrade my Google-fu skills :)
> > Was there an explaination why we need to use the mnesia_frag access module for this to work ? Just curious.
> >
> > tee
> 
> Looking at mnesia_frag.erl it uses the where_to_read property of a
> table and makes an RPC call to that node. Whereas mnesia:table_info
> just uses ets:info(Tab, size) function call which ofcourse wont work
> for remote tables.
> 
> cheers
> Chandru



More information about the erlang-questions mailing list